Some ESLint plugins are missing in the instruction
Closed this issue · 1 comments
lukyth commented
I ran npm install --save-dev eslint-config-standard eslint-config-standard-preact eslint-plugin-promise eslint-plugin-react eslint-plugin-standard
as in the instruction then I ran the ESLint command and I got this error.
Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-import". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-import is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-import@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
Then I ran npm i eslint-plugin-import@latest --save-dev
but it still couldn't work with the new error.
Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-node". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-node is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-node@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
I had to install both eslint-plugin-import and eslint-plugin-node for this to work properly.
Ahuiorg commented
npm link