permission denied, mkdir '/usr/local/lib/node_modules 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