This article covers methods to resolve "Error: EACCES: permission denied with npm" for our customers. If you see an EACCES error when you try to install a package globally, you can either:
- Reinstall npm with a node version manager (recommended).
- Manually change npm's default directory.
To download the latest version of npm, on the command line, run the following command:
$ npm install -g npm