npm start error with create-react-app

后端 未结 20 1907
长发绾君心
长发绾君心 2020-11-27 10:18

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
         


        
20条回答
  •  没有蜡笔的小新
    2020-11-27 11:08

    This occurs when the node_modules gets out of sync with package.json.

    Run the following at the root and any sub service /sub-folder that might have node_modules folder within it.

    rd node_modules /S /Q
    npm install
    

提交回复
热议问题