Vscode: eslint can't not find the module "babel-eslint" when I have installed the module babel-eslint?

Created on 2 Jun 2016  路  5Comments  路  Source: microsoft/vscode

Steps to Reproduce:

  1. I install the extension eslint for vsc,and write parser : "babel-eslint" after I have installed babel-eslint locally,but the eslint extension reminds me that can't find the module babel-eslint?
needs more info

Most helpful comment

You need to have both eslint and babel eslint installed either globally or locally. Mixing it will not work. See https://github.com/Microsoft/vscode-eslint/issues/2.

If this is not the case for you can you please share your workspace. I tried it locally and I can run eslint with babel-eslint installed.

All 5 comments

You need to have both eslint and babel eslint installed either globally or locally. Mixing it will not work. See https://github.com/Microsoft/vscode-eslint/issues/2.

If this is not the case for you can you please share your workspace. I tried it locally and I can run eslint with babel-eslint installed.

This issue was moved to Microsoft/vscode-eslint#82

I was facing this issue. I was working on ES6 MERN stack project.

ERROR: babel-eslint is not found
This error was bugging me a lot.

It turns out that I had to disable the eslint extension of VS Code. Once this was done i reloaded the VS Code and the error stopped coming.

Most of the times whenever I faced such issues, I always check installed extension in VS Code. These extensions create conflicts and hence cause errors.

@AbhayShiro
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirius1024 picture sirius1024  路  3Comments

borekb picture borekb  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

trstringer picture trstringer  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments