I used to be able to install npm globally but since upgrading to Mojave, have encountered issues in installing npm, nvm, node packages or even reinstalling node.js. I’m basically getting EACCES errors. I’ve tried yarn, sudo and without sudo.
Am admin. Npm installation results to warnings. Node package installation result to EACCES errors.