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
Check permissions of your project root with ls -l /Users/Marc/Desktop/Dev/masterclass/
. If the owner is not $USER
, delete your node_modules
directory, try changing the owner of that directory instead and run npm install
again.
cd /Users/Marc/Desktop/Dev
rm -rf ./masterclass/node_mdoules/
chown -R $USER ./masterclass/
cd masterclass
npm install