mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
Created
April 26, 2019 13:35
-
-
Save manhlinhng/6d1679660f0d82c6ad71a49e3928a205 to your computer and use it in GitHub Desktop.
checkpermissions missing write access to /usr/local/lib/node_modules
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment