Open splashcd opened 7 years ago
Does this issue occur if you download and run the final course exercise project?
Have you assured .eslintrc is in the root of your project? (same path as package.json)
Yes, the issue does occur. I've copied all files from your repo. The .eslintrc.json and package.json are both in the root project directory. The only thing I can see that may be different, is that I'm running in a virtualenv.
The demos were working perfectly until the lint
addition
That's odd. I'm running the same versions on MacOS just fine. And unfortunately the npm-debug isn't providing me anything actionable. You might try reinstalling Node or installing the latest version of Node. 7.5 also runs fine on my Mac.
Reinstalled, to no avail. The issue stemmed from having the line 'debugger;' in index.js
relevant thread: https://github.com/eslint/eslint/issues/7933
I'm following along with the
Building a JavaScript Development Environment
Pluralsight course, Linting chapter - Demo video. I just modified package.json and added .eslintrc.jsonRunning
npm run lint
produces an error, and creates the attached npm-debug.log file.There are no spaces in any directories in my projects path. Can you advise?
npm-debug.txt