I have a project who I didn\'t touch for 2 weeks. I take it back and now when I try to run npm start
I got this error.
> react-scripts start
add environment variables in windows
these 5 are must in path.
and use the latest version of node.js
I have created react project locally. This reason of occurring this problem (for me) was that I didn't use sudo
before npm
and it needs root access (
> sudo npm start
PS1: For windows users, the powershell
or command line
should be run as administrator)
PS2: If use want to solve the root access issue, you can see this post.