H
H
hollanditkzn2017-09-27 17:55:55
Linter
hollanditkzn, 2017-09-27 17:55:55

Why can't I start eslint?

As I read in the documentation, to install globally, you need to $ npm install -g eslint
, and then you need to configure the eslint --init configuration file, and so I get an error,
"eslint" is not an internal or external
command, executable program or batch file.
How to set the configuration?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Veronica Akishkina, 2018-10-24
@AirenLaird

The question was more than a year ago, but anyway - for others:
I also had such an error, but if I sequentially enter "npm install" in the Visual Studio Code terminal, then "npm run lint" (to check linting) or "npm test" (to pass the test), then everything works without problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question