Missing write access to /usr/local/lib/node/nodejs/lib/node_modules code example
Example: Missing write access to /usr/local/lib/node_modules
sudo chown -R $USER /usr/local/lib/node_modules
sudo chown -R $USER /usr/local/lib/node_modules