npm start issues with react-scripts 3.4.0

后端 未结 5 838
悲哀的现实
悲哀的现实 2021-01-27 06:27

I know this question has already been asked but I can\'t find a solution. When I run npm start inside a react project, I always get the same logs (see below). The o

5条回答
  •  我在风中等你
    2021-01-27 06:51

    Sometimes on windows, I get the same error message randomly if the npm cache is somehow messed up.

    Try to run

    npm cache clean --force
    

    Delete the node_modules folder and the package.lock.json file and run npm install afterward.

提交回复
热议问题