Comments (1)
Same issue here. Not all of the eslint
plugins like eslint-plugin-react
or eslint-plugin-import
are downloaded when @umijs/fabric
is.
yarn run v1.22.19
$ /Users/drew.daniels/projects/<project-name>/node_modules/.bin/eslint 'src/**/*.*s*' --quiet
Oops! Something went wrong! :(
ESLint: 8.44.0
ESLint couldn't find the plugin "eslint-plugin-react".
(The package "eslint-plugin-react" was not found when loaded as a Node module from the directory "/Users/drew.daniels/projects/keet-umi".)
It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm install eslint-plugin-react@latest --save-dev
The plugin "eslint-plugin-react" was referenced from the config file in ".eslintrc.js".
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
这是一个 TypeScript 项目,如果不是请删除 tsconfig.json
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
keet-umi on dd/feature/umi-v3-upgrade [$!] via 🐳 desktop-linux v16.18.1
❯
The above is after running yarn upgrade @umijs/fabric --latest && rm -rf node_modules && yarn && yarn eslint <folder>
A non-optimal workaround is installing these plugins yourself, but these should really be included with @umijs/fabric
from fabric.
Related Issues (20)
- [求助]eslint 一直报找不到`@babel/plugin-proposal-decorators` HOT 7
- stylelint 14.x 删除了 function-calc-no-invalid 导致报错 HOT 3
- @umijs/fabric/dist/eslint 缺失依赖包 HOT 2
- [BUG]在格式化vue文件中的less样式代码时如果有注释就会将less代码格式化错误 HOT 2
- 不能直接使用 pref 类型,应该是 bug 吧?
- 自定义提交信息规范 HOT 2
- pnpm 方式安装会报 /bin/sh: stylelint: command not found HOT 1
- 考虑升级 eslint、stylelint 版本吗 HOT 2
- npm 上 2.11.* 没有 latest tag
- 提示需要安装eslint-plugin-react HOT 1
- 升级@umijs/fabric后, 格式化import自动排序问题 HOT 4
- 考虑引入 react/jsx-curly-brace-presence ?
- 2.12.2版本无法检测出no-undef规则
- eslint配置里面的settings对象
- less文件每次保存自动加了分号 HOT 1
- [2.x] TypeError: Failed to load plugin 'jest' declared in '--config
- npm audit 检查出的高危漏洞
- @umijs/fabric 与 umi@4 下的 @umijs/lint 有何区别? HOT 4
- pnpm 安装 .bin 下面没有 styelint 命令
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric.