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.

issue regarding react local server start

See original GitHub issue

when i start react local server i was facing this type of error how can i resolve kindly help me

Starting the development server…

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

Error: spawn cmd ENOENT ←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)←[39m ←[90m at onErrorNT (internal/child_process.js:467:16)←[39m ←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m Emitted ‘error’ event on ChildProcess instance at: ←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)←[39m ←[90m at onErrorNT (internal/child_process.js:467:16)←[39m ←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m { errno: ←[33m-4058←[39m, code: ←[32m’ENOENT’←[39m, syscall: ←[32m’spawn cmd’←[39m, path: ←[32m’cmd’←[39m, spawnargs: [ ←[32m’/s’←[39m, ←[32m’/c’←[39m, ←[32m’start’←[39m, ←[32m’“”‘←[39m, ←[32m’/b’←[39m, ←[32m’“http://localhost:3000/”'←[39m ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! frontend@0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the frontend@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:\Users\AAKASH\AppData\Roaming\npm-cache_logs\2020-07-16T15_17_35_443Z-debug.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
eddiemongecommented, Jul 17, 2020

so many failing issues with people on Windows 😦

1reaction
tuoying96commented, Jul 17, 2020

Same trouble here, but downgrading to react-scripts@2.1.8 does not work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React tutorial - how do I start the node server for a reactJs ...
I opened up Node.js Command Prompt and navigated to the downloaded zip project. From Node example here: Just type the commands in the...
Read more >
How to Run React JS Project in Localhost - Microverse Blog
Follow these steps: · Click on the arrow icon next to the “hello world” folder to see further options by expanding it ·...
Read more >
Create a New React App
Create React App doesn't handle backend logic or databases; it just creates a frontend build pipeline, so you can use it with any...
Read more >
Best options for self-hosting Create React App - LogRocket Blog
Although building React applications is mostly straightforward for experienced developers, the setup, scaffolding, and configuration for a ...
Read more >
Set up a React app with a Node.js server proxy - Twilio
Create React App is a great tool for getting a React application up and running. It's a little less clear when you're building...
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