Functions-samples: functions: Cannot start emulator.

Created on 4 Aug 2017  路  4Comments  路  Source: firebase/functions-samples

Hi, I'm unable to emulate my functions. It shows following error:
Cannot start emulator. Error: Cannot find module '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/grpc_node.node'

Is it a bug or is there any fault in my firebase-tool setup?

Most helpful comment

@tzs007 It seems like there's an issue with gRPC, which is a separate (also Google driven) library. Can you try running

npm install -g grpc

And see if that completes successfully? There may have been an issue installing this module that was lost in other noise when you installed firebase-tools. If there are errors when installing grpc, can you file an issue at https://github.com/grpc/grpc and reference this one?

All 4 comments

Hey @nhathiwala,

I never came accross this in my setup. Maybe try de-installing and re-installing firebase-tools just in case :)

same sh*t here... I uninstalled and reinstalled firebase-tools but nothing happened...

I tried it on Windows 10 built in linux bash.

@tzs007 It seems like there's an issue with gRPC, which is a separate (also Google driven) library. Can you try running

npm install -g grpc

And see if that completes successfully? There may have been an issue installing this module that was lost in other noise when you installed firebase-tools. If there are errors when installing grpc, can you file an issue at https://github.com/grpc/grpc and reference this one?

Closing, please let us know/reopen if you are still having the issue after trying @inlined command.

Was this page helpful?
0 / 5 - 0 ratings