Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
➜ dext-hackernews-plugin git:(simplify) ✗ npm run lint
> dext-hackernews-plugin@0.2.1 lint /Users/adnasa/.dext/plugins/dext-hackernews-plugin
> eslint index.js
Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-jsx-a11y". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-jsx-a11y 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-jsx-a11y@latest --save-dev
If you still can't figure out the problem, please stop by to chat with the team.
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! dext-hackernews-plugin@0.2.1 lint: `eslint index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dext-hackernews-plugin@0.2.1 lint script 'eslint index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the dext-hackernews-plugin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs dext-hackernews-plugin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls dext-hackernews-plugin
npm ERR! There is likely additional logging output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.