[Vuejs]-Npm ERR! Error: EACCES: permission denied, access '/Users/patrikkozak/.npm-global/lib/node_modules/@vue/cli'

0👍

Give this command a shot

npm install -g decompress-tar then rerun npm install -g @vue/cli

If that doesn’t work, try:

npm install -g @vue/cli --cache /tmp/empty-cache

it uses the a temp cache.

Taken from here

Leave a comment