npm install permission error code example Example: npm permissions error sudo chown -R $(whoami) ~/.npm