-
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
Issue installing firebase tool #372
Comments
Node 8.0.0 has errors that prevent Firebase from being installed. Please
upgrade to 8.1.1.
…On Fri, Jun 16, 2017, 5:05 AM Aurobindo Debnath ***@***.***> wrote:
I get an error while installing firebase tool and I can't figure out the
problem.
***@***.***:~/Downloads/web-starter-kit-0.6.5$ sudo npm install -g firebase-tools
npm WARN deprecated ***@***.***: Use uuid module instead
/usr/local/bin/firebase -> /usr/local/lib/node_modules/firebase-tools/bin/firebase
> ***@***.*** install /usr/local/lib/node_modules/firebase-tools/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp ERR! Tried to download(undefined): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.3.8/node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for ***@***.*** and ***@***.*** (node-v57 ABI) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/build'
gyp ERR! System Linux 4.8.0-49-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary"
gyp ERR! cwd /usr/local/lib/node_modules/firebase-tools/node_modules/grpc
gyp ERR! node -v v8.0.0
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:887:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)
node-pre-gyp ERR! System Linux 4.8.0-49-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/firebase-tools/node_modules/grpc
node-pre-gyp ERR! node -v v8.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary' (1)
npm ERR! Cannot read property 'type' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /home/auro/.npm/_logs/2017-06-16T11_54_55_701Z-debug.log
node v8.0.0
npm 5.0.0
ubuntu os 16.04
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#372>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAAD_gPK8mc1qt6xZRaA6buAhCQdBuEcks5sEm96gaJpZM4N8YK2>
.
|
Hi! I updated node to 8.2.1 and I'm using npm 5.3.0 but I still have similar problem. I'm trying to run the same command
Similar issues have been posted in other places too, but none of the tricks seem to work: https://stackoverflow.com/questions/45595684/unable-to-install-firebase-tools-using-npm Any help? |
Same issue: OS: Bash on Windows (WSL) |
Hey @RichieRock @Austin-Stephens Are you two sure that the install actually failed? When you run "firebase --version" does anything show up? |
@laurenzlong Yes, prior to running
|
@laurenzlong Yes same here, the install has failed.
Npm version 5 introduced npx command. I cannot even run firebase with this command even though it shows that it installed it:
|
This isn't really a solution, but running |
I installed nvm and with that this started to work. Don't know what was
different with my system node/npm installation.
|
Same issue here (node 8.6.0).
|
Please follow up with grpc installation errors at grpc/grpc-node#121 |
i have same issue with node version v8.10.0 |
I have npm version 6.4.1 and node version 10.14.1 and I still see this issue Refusing to delete /usr/local/bin/firebase: ../lib/node_modules/firebase-tools/bin/firebase symlink target is not controlled by npm /usr/local/bin |
ERROR
|
@bhandaribhumin this seems to be an NPM issue in installing the module. I'd try running |
@mbleigh thanks for reply man tried but not worked. :( |
This error seemed to go away for me (on macbookpro) after upgrade to latest node and npm. |
this is still a problem, i tried I still get nothing works |
solved my issue by upgrading node v8.0.0 to v8.1.1 |
--> npm clean --force This worked for me! |
It works for me after update latest node
On Mon, 25 Feb 2019 at 5:27 AM, Daksha Patel ***@***.***> wrote:
--> npm clean --force
--> nvm install node --reinstall-packages-from=node (this updates to node
v11.10.0 (npm v6.7.0))
-->npm uninstall -g firebase-tools
-->npm install -g firebase-tools
This worked for me!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#372 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLnb9M_xrWWKX8Wl-5f5kYT91iG7D5bks5vQybmgaJpZM4N8YK2>
.
--
Bhumin.....
|
It works for me after update latest node |
I couldn't get firebase tools to install with --force or --unsafe-perm. So I went into Anyways, I removed it manually with
|
@geiz same thing happened to me and after investigating this was the fix. For anyone that has this issue and is running recent versions of node / version of firebase tools I would check out the above answer by geiz. In my case I was trying to npm update but kept running into this issue, space at the end of folder name was causing it to not find the folder. |
I SOLVED this problem by on linux : "curl -sL https://firebase.tools | bash" |
I get an error while installing firebase tool and I can't figure out the problem.
node v8.0.0
npm 5.0.0
ubuntu os 16.04
The text was updated successfully, but these errors were encountered: