I am trying to run my react app and i keep getting this error :
configFactory is not a function
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
npm ERR!
I tried updating node but it didn’t work
2
Answers
I had to downgrade react-scripts to solve this
have you installed all dependencies for the project?
If you have so, I strongly recommend that you delele your node-modules folder, and clean the node cache with
npm cache clean --force
and then try to run the npm install again.Hope that helped!