Skip to content
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

Cannot deploy with node 8.8.1 because of missing extension_binary/node-v57-darwin-x64/grpc_node.node #522

Closed
kitsunde opened this issue Oct 30, 2017 · 5 comments

Comments

@kitsunde
Copy link

kitsunde commented Oct 30, 2017

Version info

$ firebase --version
3.13.1
$ node --version
v8.8.1
$ uname -a
Darwin Kits-MacBook-Pro.local 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64

Steps to reproduce

yarn global add firebase-tools
firebase deploy
=== Deploying to 'amigas-del-mar'...

[..]
i  functions: preparing functions directory for uploading...

Error: Error parsing triggers: Cannot find module '/private/var/folders/bp/b021274d72qfz2v19mm9pc480000gn/T/fbfn_616726OrDctMi1yiU/node_modules/firebase-admin/node_modules/grpc/src/node/extension_binary/node-v57-darwin-x64/grpc_node.node

This makes no difference: #442 and I don't have this installation issue: #467

I've uninstalled firebase-tools completely, removed previous versions of node, removed node_modules and cleaned the yarn and npm cache. Nothing seem to resolve the issue except to downgrade to node 7.x, I'm at a loss.

@kitsunde kitsunde changed the title Cannot find extension_binary/node-v57-darwin-x64/grpc_node.node on node 8.8.1 Cannot deploy with node 8.8.1 because of missing extension_binary/node-v57-darwin-x64/grpc_node.node Oct 30, 2017
@wooliet
Copy link

wooliet commented Nov 3, 2017

Same with versions:
node v6.11.1
firebase 3.14.0

#442 also did not resolve this for me.

@wooliet
Copy link

wooliet commented Nov 3, 2017

Switch to node v8.9 (using nvm) resolved this for me.

@corysimmons
Copy link

@FirebaseTeam Can you please investigate this firebase-functions + grpc thing and provide an official solution? It popped up for me when I went out of my way to downgrade to 6.11.1 (using nvm, n, brew, official installer, etc. now...) to be in-line with firebase-functions old version of Node.

I've seen several of these issues and the problem just seems like a problem with the grpc build.

🎉 Running npm rebuild finally fixed the issue for me.

@mbleigh
Copy link
Contributor

mbleigh commented Jan 29, 2018

If you're still having GRPC issues, please provide feedback at grpc/grpc-node#121

@mbleigh mbleigh closed this as completed Jan 29, 2018
@kroikie
Copy link

kroikie commented Jun 6, 2018

I had to run the npm rebuild from within the functions directory, then it was fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants