I'm trying to run a node and react js project that i got from someone else and this is the error that i get. Can someone please help me fix this?
cd frontend
npm start
> [email protected] start
> react-scripts start
sh: /Users/..../...../...../frontend/node_modules/.bin/react-scripts: Permission denied
.... frontend %
CodePudding user response:
Just run the command below in project root. You might installed it globally.
npm install react-scripts --save
CodePudding user response:
You don't have required permissions in the given directory.
You can run
sudo npm start
or update permissions for the directory
sudo chmod 777 -R Your_Dir/
