Exp client not insatll

npm install -g exp

getting error

npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/usr/lib/node_modules’
npm ERR! { Error: EACCES: permission denied, access ‘/usr/lib/node_modules’
npm ERR! stack: ‘Error: EACCES: permission denied, access '/usr/lib/node_modules'’,

Hey @vndranga,

Take a look at these docs: https://docs.npmjs.com/getting-started/fixing-npm-permissions

It’ll help you resolve your issue of trying to install a package globally but getting an EACCES error.

Also, as a side note, if you are using npm5, I would definitely recommend downgrading to npm@4.6.1. To this day, npm5 seems to be the cause of several issues.

Cheers,

Adam

1 Like

Thanks. Problem Resolved :blush:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.