Firebase-tools: I am having trouble with installing firebase tools

Created on 28 Jul 2019  Â·  4Comments  Â·  Source: firebase/firebase-tools

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/firebase-tools/node_modules/grpc
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/firebase-tools
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/firebase-tools/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm WARN [email protected] requires a peer of marked@^0.4.0 || ^0.5.0 || ^0.6.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path /usr/local/lib/node_modules/firebase-tools/node_modules/grpc
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc'
npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc'] {
npm ERR! stack: "Error: EACCES: permission denied, access '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc'",
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:

Most helpful comment

@AKASHHJOSEPH run "sudo npm install -g firebase-tools" . I did not update anything except this package. I am also able to install other global npm packages without any issue. Now its work perfectly.

All 4 comments

yup, @AKASHHJOSEPH, see the docs that @JottaPereira directed you towards - that looks like a permissions issue on your local machine.

@AKASHHJOSEPH run "sudo npm install -g firebase-tools" . I did not update anything except this package. I am also able to install other global npm packages without any issue. Now its work perfectly.

Ok thanks

On Mon, Apr 20, 2020, 12:57 PM Saif Bin Abdul Kareem <
[email protected] wrote:

@AKASHHJOSEPH https://github.com/AKASHHJOSEPH run "sudo npm install -g
firebase-tools" . I did not update anything except this package. I am also
able to install other global npm packages without any issue. Now its work
perfectly.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-tools/issues/1558#issuecomment-616362954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJS4CCD5OTGAL3ROYHAJ2S3RNP2OLANCNFSM4IHLYZDQ
.

Was this page helpful?
0 / 5 - 0 ratings