Whose Error Is It?

npm printed this

npm ERR! EACCES: permission denied, mkdir '/usr/local/lib/node_modules'
What it meansnpm tried to install a global package into a system directory owned by root, and your user lacks permission to write there.
The first thing to checkAvoid sudo; install Node with nvm so globals go under your home directory, or set npm config set prefix to a folder you own and add it to PATH.

More from npm

All 75 errors

Whose Error Is It? · Status Menu · Back to the bar