Topic
Npm
All articles collected around this topic.
npm ERR! code EACCES: check the global prefix, then change it or use a version manager
When npm install -g prints npm ERR! code EACCES or EACCES: permission denied, read npm prefix -g first, then follow the official docs: use a Node version manager, or point the prefix at ~/.local. Do not start with sudo npm, and do not chmod system directories.