-
Notifications
You must be signed in to change notification settings - Fork 961
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
/bin/bash: node-pre-gyp: command not found error when installing #580
Comments
GRPC is a native (aka written in C) extension and it looks like Windows needs extra tools for this. Try running |
Hmm, I still get the same error after running that:
and when I try to serve, I get the same error
|
Hmm.. I see that you're running Bash on Windows. This could make the search path really weird. A lot of times tools for Unix correctly set up the search path for all future shells. As a stupid check, can you open a new window and try again? |
Actually, I have bash on windows installed, but i am not using it. |
It looks like Node may be trying to use it. See above where the command was:
For sanity's sake, I'd either remove BoW or also install |
And fwiw, take my advice with a grain of salt. We're getting outside my Windows expertise. I prefer the option to install |
Please follow up on GRPC installation issues in grpc/grpc-node#121 as I'm trying to consolidate feedback there. |
Version info
Windows 10
Node version: 8.9.1
NPM version: 5.6.0
Firebase Tools Version: 3.16.0
Steps to reproduce
Expected behavior
The functions emulator should start successfully.
Actual behavior
! functions: Cannot start emulator. Error: Cannot find module '@google-cloud/functions-emulator/src/config'
and/bin/bash: node-pre-gyp: command not found
Installing
@google-cloud/functions-emulator
manuallyI keep getting this strange
/bin/bash: node-pre-gyp: command not found
error. How can I solve this?The text was updated successfully, but these errors were encountered: