question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`npm run lint` failing on osx

See original GitHub issue

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.json

Running 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

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
splashcdcommented, Mar 1, 2017

Reinstalled, to no avail. The issue stemmed from having the line ‘debugger;’ in index.js

0reactions
cpeycommented, Nov 26, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to prevent npm run lint from fixing errors automatically?
I have a GitHub action workflow checking the code style and using npm run lint is wrong because the workflow fixes the code...
Read more >
NPM local server won't start. I am getting an error with ESLint
Failed at the react-redux-course@1.0.0 lint script. npm ERR! This is probably not a problem with npm. There is likely additional logging output ......
Read more >
lint-staged - npm
Start using lint-staged in your project by running `npm i lint-staged`. ... lint-staged will exit with an error and abort the commit.
Read more >
Commit hooks are skipped due to PATH issues - Jira - Atlassian
At first I thought it's a problem with lint-staged or husky but eventually ... Before, all we had to do was run npm...
Read more >
Npm install is failing while running redash [macOSX]
I'd double check you're using compatible versions of Node and NPM. Seems like a dependency that might no be supported either by your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found