React-Script: Permission Denied

React-Script: Permission Denied

Table of contents

No heading

No headings in the article.

So the other day I ran react for the first time. I knew it could run offline but every time I tried to run it gave me an error $ react scripts: Permission denied . I did some research and ended up in a dead end. After almost giving up I came across a possible solution. The problem might have been with the package.json file. All I had to do is to change the value of

"start": "node ./node_modules/react-scripts/bin/react-scripts.js start"

After this change react would start successfully. Hope this helps those who might try react.