npm start issues with react-scripts 3.4.0

后端 未结 5 884
悲哀的现实
悲哀的现实 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:34

    It took me two days to resolve this issue.

    Its because of the incompatibility issue of react-scripts so try installing different versions like:

    This worked for me:

    npm install --save react-scripts@2.1.8

    This one did work for many as they claim:

    npm install --save react-scripts@3.3.0

    It should work as it did to me after an arduous struggle.

提交回复
热议问题