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 start problem in reactjs

See original GitHub issue

pleas help me how can solve these problem? i 「wds」: Project is running at http://10.4.91.252/ i 「wds」: webpack output is served from i 「wds」: Content not from webpack is served from C:\Users\Enat\Desktop\React\my-app\public i 「wds」: 404s will fallback to / Starting the development server…

events.js:293 throw er; // Unhandled ‘error’ event ^

Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:467:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted ‘error’ event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:467:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: -4058, code: ‘ENOENT’, syscall: ‘spawn cmd’, path: ‘cmd’, spawnargs: [ ‘/s’, ‘/c’, ‘start’, ‘“”’, ‘/b’, ‘“http://localhost:3000”’ ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! my-app@0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the my-app@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:.…\AppData\Roaming\npm-cache_logs\2020-03-12T11_19_38_702Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
sqalcommented, Mar 19, 2020

I finally managed to fix it, thanks to this comment - https://github.com/gatsbyjs/gatsby/issues/1767#issuecomment-546111367

I don’t know why but I didn’t have C:\Windows\System32 added to my PATH variable.

0reactions
hmhelal99commented, Jun 11, 2020

I have fixed by adding C:\Windows\System32 to my PATH varible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - npm start error with create-react-app - Stack Overflow
Go to your C:\Users\<USER>\AppData\Roaming · Delete npm and npm-cache directories... · Go back to your application directory and remove ...
Read more >
React npm start not working? - The freeCodeCamp Forum
Yeah my folder was named React_Practice and by using : npx create-react-app “FOLDERNAME” (newly created folder) , I had created a new folder ......
Read more >
How to fix npm start command not working - Nathan Sebhastian
How to fix npm start command not working · Check if you have a package.json file in your project · Check if you...
Read more >
'Npm start' fails on react-scripts-start · Issue #9594 - GitHub
Hi @verma-anushka I think you have an older node version which is the main issue. The docs says https://github.com/facebook/create-react-app# ...
Read more >
npm ERR! Missing script: "start" [Solved] | bobbyhadz
To solve the npm ERR! Missing script: "start" error, make sure to add a start command to the scripts object in your package.json...
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