0

Does anyone else get the same error message when running the command eslint filename.js on the Terminal (bash in VS Code). I have just installed ESlint and have done npm install etc. Here's the error message I get: error message screenshot:

I have opened the files under 'require stack' and tried to find 'mkdirp' there to change it to 'mkdir' instead. Any idea if this would help? I believe there are multiple errors but I am new to this and don't know how to correct them. I have also tried the command after running npm update but got the same error message.

  • Why did you install eslint globally? What instructions were you following? Try this: `mkdir test; cd test; npm init -y; npm i eslint; npx eslint .` – JBallin Jan 29 '23 at 01:47

0 Answers0