The react-scripts package provided by Create React App requires a dependency:

后端 未结 10 2626
夕颜
夕颜 2021-02-18 14:12

There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package p

10条回答
  •  自闭症患者
    2021-02-18 14:37

    Make sure you don't have a global webpack package or somewhere higher up the directory structure. In my case, I had it globally installed. Deleting and then running npm install and then npm start worked perfectly.

提交回复
热议问题