Skip to content

Instantly share code, notes, and snippets.

@adnasa
Created September 5, 2016 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnasa/b04e1cef4e2f4c33d2751bf852a25927 to your computer and use it in GitHub Desktop.
Save adnasa/b04e1cef4e2f4c33d2751bf852a25927 to your computer and use it in GitHub Desktop.
➜ 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 https://gitter.im/eslint/eslint 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! code ELIFECYCLE
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