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

while installing at production level we face issue reported below #9

Open
zebap opened this issue Apr 4, 2020 · 1 comment
Open

Comments

@zebap
Copy link

zebap commented Apr 4, 2020

when in try to install and run the command as
npm install fcm-notification --save

below issue reported

node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack TypeError: Object https://node-precompiled-binaries.grpc.io/grpc/v1.24.2/node-v11-linux-x64-glibc.tar.gz has no method 'startsWith'
node-pre-gyp ERR! stack at /usr/id-multiple-city-core-api/node_modules/fcm-notification/node_modules/firebase-admin/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/node_modules/node-pre-gyp/lib/install.js:263:45
node-pre-gyp ERR! stack at /usr/id-multiple-city-core-api/node_modules/fcm-notification/node_modules/firebase-admin/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/node_modules/mkdirp/index.js:30:20
node-pre-gyp ERR! stack at Object.oncomplete (fs.js:108:15)
node-pre-gyp ERR! System Linux 3.10.0-327.36.1.el7.x86_64
node-pre-gyp ERR! command "node" "/usr/id-multiple-city-core-api/node_modules/fcm-notification/node_modules/firebase-admin/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /usr/id-multiple-city-core-api/node_modules/fcm-notification/node_modules/firebase-admin/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc
node-pre-gyp ERR! node -v v0.10.46
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
node-pre-gyp ERR! This is a bug in node-pre-gyp.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! https://github.com/mapbox/node-pre-gyp/issues
npm ERR! Linux 3.10.0-327.36.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "install" "fcm-notification" "--save"
npm ERR! node v0.10.46
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build --library=static_library'.
npm ERR! This is most likely a problem with the grpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs grpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls grpc
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/id-multiple-city-core-api/npm-debug.log
any solution??? thanks in advance

@sagarss1911
Copy link

me too

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

2 participants