DEV Community

vijitibu
vijitibu

Posted on

Error

The following errors show up when I hit npm start in visual studio code.

E:\version1\react-repo>npm start

react-repo@0.1.0 start E:\version1\react-repo
react-scripts start

i 「wds」: Project is running at http://192.168.18.5/
i 「wds」: webpack output is served from
i 「wds」: Content not from webpack is served from E:\version1\react-repo\public
i 「wds」: 404s will fallback to /
Starting the development server...

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

Error: spawn powershell ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469: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:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn powershell',
path: 'powershell',
spawnargs: [
'-NoProfile',
'-NonInteractive',
'–ExecutionPolicy',
'Bypass',
'-EncodedCommand',
'UwB0AGEAcgB0ACAAIgBgACIAaAB0AHQAcAA6AC8ALwBsAG8AYwBhAGwAaABvAHMAdAA6ADMAMAAwADAAYAAiACIA'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-repo@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-repo@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Top comments (0)