-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to load plugin import: Cannot find module 'es6-set' #1115
Comments
Looks like installing |
I'd recommend not installing anything globally - if you do, I think you'd need to manually cd into the global location where It's best to install everything locally, only. |
Is there a way to install it locally and use eslint for Atom, Sublime Text? I'm using the airbnb standard for color linting in GUI editors. |
Yes, both of those editors can be configured to look in |
If I understand, I should install airbnb standard inside one of my projects, then I set the eslint executible path to this local install in Sublime Text / Atom? Maybe I just create a new node project which contains all of the eslint, airbnb standard related stuff and I set this eslint's path to the GUI editors? Kinda like a .dotfiles repo, but only for local installs for GUI editor dependencies? |
Yes, I'm suggesting the former. You could certainly do the latter but I don't think any project should be linted unless a developer who cloned the project on another machine can run |
@DJviolin assuming you are using the The latter actually won't work inside Atom, at least not without modifying the code of the package. What you are describing is similar to a global install of eslint which isn't recommended, but is supported. |
Please continue to discuss if needed. |
I'm getting this error with a globally installed eslint and Node 7 Nightly on Windows:
The error message in Atom editor:
Node version: v7.0.0-test2016100609987d242b
NPM version: 3.10.8
I think these are related issues:
#465
walmartlabs/eslint-config-defaults#43
import-js/eslint-plugin-import#611
import-js/eslint-plugin-import#604
The text was updated successfully, but these errors were encountered: