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

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

    Delete your eslint and babel-eslint file from your node modules on your computer e.g. -C:\Users\vishnu\node_modules -delete eslint and babel-eslint file.

    In your project:

    yarn remove eslint
    yarn add --dev eslint@6.1.0
    
    yarn remove babel-eslint
    yarn add --dev babel-eslint@10.0.3
    

提交回复
热议问题