Error: ESLint not found,........ in atom!
thearabbit opened this issue · comments
have you installed eslint?
npm install eslint
@thearabbit This is not an issue related to this project.
- You have to install ESLint globally on your machine, because you check the "Use global ESLint installation".
- Make sure the Atom's PATH variable contains the actual path where you install ESLint.
Sorry, I am a newbie for atom
.
I base on windows 7.
I installed it already via apm install ...
http://info.meteor.com/blog/how-to-set-up-atom-and-webstorm-for-meteor-es6-es2015-and-jsx and then config it like image above.
Did you run npm install -g eslint-plugin-react eslint
in your terminal?
Sorry it have problem with eslint or any....
I had this problem too. I restarted atom and everything worked fine again.
Now I tried to install babel-eslint
, but still problem.
npm install -g eslint
apm install language-babel
I try to restart many time, but don't work.
Could you try to set .eslintrc
path?
@xcv58 This issue was also opened here, @thearabbit hasn't configured eslint
properly (at all?) which is why he is still having issues. We pointed him towards some getting started with eslint
guides there, I'm not sure why this issue was also filed here...
As @tomitrescak mentioned in the other project, you need to do npm install
inside your meteor (Mantra) project.
Thanks, but still don't work Parsing error: import and export......
.
Try to download the fresh sample-blog-app .. run npm install make sure there are no errors. Open in Atom. All should be well.
Excuse me, should I install eslint, babel atom pacakage
or not?
That is exactly what "npm install" does. It installs all dependencies for you, which are described in the package.json file. It would be great if you would check out the structure of a npm package, or node.js program. It will help you understand what you are doing. Otherwise, just follow instructions ;)
Yes npm install
work fine.
But I would like to use atom eslint
to check error, so I should be install it or not?
You need to install the linter-eslint only. That is the only thing you need.
Now I tried to remove eslint on atom
, it don't show Parsing error: import and export.......
.
But it don't check any error.
Now it work fine (Unchecked: Use global ESLint installation
), when I update .eslintrc
"linebreak-style": [2, "windows"],
Thanks for all helping.