npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/.staging' code example
Example: Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript'
sudo chown -R $USER /usr/local/lib/node_modules
sudo chown -R $USER /usr/local/lib/node_modules