If you run the following command to install npm package:
- npm install <package_name>
and get an access error, you might be tempted to run this command with sudo and it'll work, but it's not a right way for sure. Npm modules should be installed without sudo. To fix the problem ...