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.

I suddenly get an error message when doing npm start

See original GitHub issue

Hi. After a week’s break from the Pluralsight course, I was going to start again today. But when I do the command “npm start,” I get the following message: 17 error Windows_NT 6.1.7601 18 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “start” 19 error node v6.10.2 20 error npm v3.10.10 21 error code ELIFECYCLE 22 error product-management@1.0.0 start: tsc && concurrently "tsc -w" "lite-server" 22 error Exit status 2 23 error Failed at the product-management@1.0.0 start script 'tsc && concurrently “tsc -w” “lite-server” '. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the product-management package, 23 error not with npm itself.

I haven’t done any changes to any of the course catalogues since the last chapter. What am I missing here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

elfworldcommented, Apr 27, 2017

Sorry for note getting back to you before now, but I didn’t have the chance to check it before now.

I can’t believe that I hadn’t seen tat error on top of all the red ERR’s.

Everything works just fine now. Thank you very much!

DeborahKcommented, Apr 26, 2017

Is it possible you are not in the appropriate directory when you execute the command? You need to be in the folder containing the package.json file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm start giving error in node.js - Stack Overflow
The error suggests that the ./bin/www directory is not found. Paths specified with a dot are relative to the current directory, ...
Read more >
Common errors | npm Docs
The error Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 is a consequence of joyent/node#8141, and is an issue with the Node installer ...
Read more >
How to fix npm start command not working - Nathan Sebhastian
Here are some steps to fix the npm start command: Check if you have a package.json file in your project; Check if you...
Read more >
15 Common Error Codes in Node.js and How to Fix Them
15. EPERM · Close all instances of your editor before rerunning the command (maybe some files were locked by the editor). · Clean...
Read more >
Sudden npm error - Laracasts
... 5.4 on homestead and I have been able to configure and run npm run dev and ... they are kept in sync...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found