FullstackReactCode icon indicating copy to clipboard operation
FullstackReactCode copied to clipboard

sh: 1: concurrently: Permission denied

Open GitKilla opened this issue 7 years ago • 4 comments

Working fine up until concurrently execution to run react and express, then after adjusting package.json gives the following error:

ss

GitKilla avatar Feb 10 '18 21:02 GitKilla

Here is the debug log they reference:

debuglog

GitKilla avatar Feb 10 '18 21:02 GitKilla

Try to delete /node_modules and run npm install this happens sometimes

Blimeys avatar Feb 10 '18 21:02 Blimeys

I used a catchall and just made chmod recursively set the file permissions to 777. Is that bad practice?

GitKilla avatar Feb 10 '18 21:02 GitKilla

I ran into the same issue using linux OS and Vscode.It was pretty much hard to figure out what to do next. So, to solve this issue all you have to do is:

Remove Node
If in OSX run brew uninstall node
Delete the dir node_modules
Install Node again globally
Again, if in OSX run brew install -g node
Run npm install

Run npm start and feel a smile growing slowly in your face

nguemechieu avatar Sep 13 '22 21:09 nguemechieu