I had the same problem and do all the suggested steps but the problem still, so, my error is that i have a reactApp inside other Javascript App i had this structure.
--MyProjects
----NodeJsApp
----node_modules of NodeJsApp
----package.json of NodeJsApp
----ReactApp
------node_modules of ReactApp
------package.json of ReactApp
The problem solved to me deleting my ReactApp node_modules directory, then i do a reestructure of my directories because i have a disaster.
--MyProjects
----NewDirectory (inside all about NodeJsApp)
------node_modules of NodeJsApp
------package.json of NodeJsApp
----ReactApp
------package.json of ReactApp
After that i do :
npm install
and then npm start
and my problem has fixed, i think that the problem is that the parent directory cant have a javascript /nodeJs/ project or something that have node_modules .
webpack
andbabel-eslint
, trying downgradingreact-scripts
from 2.1.2 to 2.1.1 didn't work, there is a issue open on GitHub here: github.com/facebook/react/issues/14518npm ls babel-eslint
and check what package is downgrading or upgradingbable-eslint
. I have the same issue but withwebpack
andreact-recaptcha-v3
package has introduced the issue for me.