-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase serve return cannot find grpc_node.node module #442
Comments
+1 |
exact same issue
allowed grpc to install |
Thanks @stardotbmp |
updating firebase-admin to 5.5 seemed to work for me. |
+1 |
This worked form me (I reinstalled firebase tool and update the firebase-functions):- |
Still having this issue on OS X High Sierra, Node 8.9.1 via Macports, firebase-tools 3.16.0:
What's annoying is that
I thought a clever symlink could get me past this:
But alas:
|
Turns out my error was permissions related. Symlink, or globally installing |
Hey everyone, I was having the same issue and I thought I would share how I fixed it. The main reason why it was throwing an error was the folder, I followed @stardotbmp suggestion and installed grpc as a global package by running their command. However, firebase wasn't recognising it still. I went into the global firebase-tools instance, removed the grpc package, and replaced it with a symbolic link to the global grpc package. The commands should be as follows:
|
@CanadianEngineer thanks, it worked for me |
My previous error message was:
|
None of these solutions seem to work - I have never really managed to get Firebase serve locally working.. |
Please direct all feedback regarding grpc installation to grpc/grpc-node#121 thanks! |
@CanadianEngineer Thank you, it worked for me. |
henrylearn2rock's comment above, regarding using |
What finally worked for me was |
firebase-tools no longer requires grpc, upgrading to the newest version will work without any additional workarounds. |
Delete functions/node_modules -> It worked and idk y. |
|
Inside the functions folder fixed this for me. |
I just removed node_modules and install again:
|
run |
Version info
3.9.2
Steps to reproduce
I run:
firebase serve --only functions
Expected behavior
run functions localy
Actual behavior
get error:
⚠ functions: Cannot start emulator. Error: Cannot find module '/mnt/c/Users/Fares/AppData/Roaming/npm/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/grpc_node.node'
I'm using Bash on windows, everything run on the right way, but this command give me error.
The text was updated successfully, but these errors were encountered: