Error: EACCES: permission denied when trying to install on npm
Permission Error When Running NPM Package Installation
I was having issues installing an npm package and I found something online to get it installed. Simply run some flags on your command and it will install it even if you have EACCES permissions errors.
sudo npm install -g eslint --unsafe-perm=true --allow-root