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.

Throw if npm start is passed in

See original GitHub issue

If we run clinic doctor -- foo bar, we should provide the user a proper error that guide them into using a Node.js executable.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
anmol5varmacommented, Jan 8, 2021

https://clinicjs.org/documentation/cli/ This page says that. we can use npm start as well. Is it incorrect?

1reaction
elrumordelaluzcommented, Sep 3, 2020

Is this solved?

I am trying to do

clinic doctor -- npm run start

and only gets

Clinic.js must be called with a `node` command line: `clinic doctor -- node script.js`

Node.jsv14.5.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Throw if npm start is passed in · Issue #194 · clinicjs/node-clinic
If we run clinic doctor -- foo bar, we should provide the user a proper error that guide them into using a Node.js...
Read more >
NPM start throwing errors - Stack Overflow
Open your package.json file and change "karma-chrome-launcher": "^0.1.4" with "karma-chrome-launcher": "0.1.4", that is, remove the caret.
Read more >
scripts - npm Docs
Scripts are run by passing the line as a script argument to sh . If the script exits with a code other than...
Read more >
Errors | Node.js v19.3.0 Documentation
If no error was raised, the first argument will be passed as null . ... Throwing an error inside the callback can crash...
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
Node.js is free to run other parts of the code from the moment this ... have long gone out of context for it...
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