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

npm ERR! Failed at the grpc@1.10.1 install script. #80

Closed
JulienGuo opened this issue May 29, 2018 · 14 comments
Closed

npm ERR! Failed at the grpc@1.10.1 install script. #80

JulienGuo opened this issue May 29, 2018 · 14 comments

Comments

@JulienGuo
Copy link

root@vm10-210-0-10:/opt/gopath/src/github.com/hyperledger/caliper# npm install

grpc@1.10.1 install /opt/gopath/src/github.com/hyperledger/caliper/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library

/usr/bin/env: ‘node’: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! grpc@1.10.1 install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the grpc@1.10.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-29T02_56_33_212Z-debug.log

@JulienGuo
Copy link
Author

solved :
1、do not use root user
2、install node-gyp in global way . Such as install in ubuntu : sudo apt-get install node-gyp

@mabatak1
Copy link

mabatak1 commented Oct 3, 2018

npm install react-native firebase@4.6.2 --save

@hs41-18
Copy link

hs41-18 commented Dec 31, 2018

npm install react-native firebase@4.6.2 --save

it definitely saved hours of mine. could you please explain the reason behind? (for me just to understand)

@samthomson
Copy link

Changing firebase from 4.6.0 to 4.6.2 worked for me too, thanks.

@Nazeerahmad1996
Copy link

npm install react-native firebase@4.6.2 --save

I have been looking for the solution for 1 month.
Thank you so much.
Can you please tell why firebase was causing error?

@RevanthSivalingam
Copy link

npm install react-native firebase@4.6.2 --save

Thanks, it's working !!

@adimunteanu
Copy link

npm install react-native firebase@4.6.2 --save
This saved my day, it's working!

@ghost
Copy link

ghost commented Mar 5, 2019

It worked for me as well. THANKS!

@andypapmedialight
Copy link

npm install react-native firebase@4.6.2 --save

BINGO!
Cheers.

@komalbarge45
Copy link

It works for me. Thanks!

@rbatty19
Copy link

rbatty19 commented May 29, 2019

for me works this:

package.json

"dependencies": {
    "firebase": "^5.0.2"
  },
 "resolutions": {
    "grpc": "^1.12.0"
  }
grpc/grpc#15403 (comment)

@ishandutta2007
Copy link

I needed to downgrade node from 10.12 to 8.11

node -v

v10.12.0

npm install -g n
n 8.11.1
mode -v

v8.11.1

@Hdezhkam
Copy link

npm install firebase --force

@Jchinonso
Copy link

"resolutions": {
    "grpc": "^1.12.0"
  }

Then use yarn to install

faustovanin pushed a commit to faustovanin/caliper that referenced this issue Oct 27, 2023
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