Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbabel-eslint undefined #1166
Comments
talmobi
changed the title
babel-eslint under
babel-eslint undefined
Jul 24, 2018
talmobi
added a commit
to talmobi/standard
that referenced
this issue
Jul 24, 2018
This comment has been minimized.
This comment has been minimized.
|
Issue resolved at #1167 Closing. |
talmobi
closed this
Aug 6, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Nov 4, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
talmobi commentedJul 24, 2018
•
edited
What version of standard?
11.0.1
What operating system, Node.js, and npm version?
uname -aDarwin Kernel Version 17.6.0node -vv8.11.2npm -v6.1.0What did you expect to happen?
Globally installed standard to work out of the box
npm install -g standardWhat actually happened?
An error is thrown:
Cannot find module 'babel-eslint' (eslint/undefined)Related issue:
https://github.com/standard/standard/issues/85According to @feross both
standardandbabel-eslintneeds to be installed (ref:https://github.com/standard/standard/issues/85#issuecomment-391155461).Then why is
babel-eslintonly set as adevDependencyin thepackage.json?Seems like it should be a normal
dependencyInstalling
babel-eslintglobally as well resolves the issue:npm install -g babel-eslintPR:
https://github.com/standard/standard/pull/1167