Exp client not insatll

#1

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’’,

#2

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
#3

Thanks. Problem Resolved :blush:

closed #4

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