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

后端 未结 10 2606
夕颜
夕颜 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:34

    Part of the output you provided says:

    Check if C:\Users\chawki\node_modules\babel-eslint is outside your project directory. For example, you might have accidentally installed something in your home folder.

    Browse to C:\Users\chawki\node_modules\ and delete the babel-eslint folder, or simply delete C:\Users\chawki\node_modules.

提交回复
热议问题