There might be a problem with the project dependency tree. It is likely not a
今天React设置eslint的时候出了一个错误,
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.
这个错误很简单就是react-script这个库不支持太高版本的eslint我们安装会6.6.0就可以了
解决方法
npm uninstall --save eslint
n
原创
2020-09-08 18:26:10 ·
4491 阅读 ·
1 评论