skip to Main Content

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


  1. Chosen as BEST ANSWER

    I had to downgrade react-scripts to solve this


  2. have you installed all dependencies for the project?

    npm install
    

    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!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search