npm install permission denied (macOS)
问题 To install a Bootstrap theme I want to run npm install. However I always receive a permission denied error. I already tried nvm and then switched with nvm use 10.9.0 to run npm install . I also tried sudo chown -R $(whoami) ~/.npm and sudo chown -R $USER /usr/local/lib/node_modules . Neither solved it and now I am bit out of ideas how I can continue. I use macOS High Sierra. Marcs-MBP-3:masterclass Marc$ npm install npm WARN deprecated gulp-uglifyjs@0.6.2: Since gulp-sourcemaps now works, use