Skip to content
← Back to Community
unable to run command npm start
Profile icon
deepkakkar

when I run the command as npm start, it responds as

[email protected] start /home/runner/crwn-clothing
react-scripts start

sh: 1: react-scripts: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: react-scripts start
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/runner/.npm/_logs/2020-01-16T06_41_32_861Z-debug.log

Voters
Profile icon
bart74130
Profile icon
goldengamer488
Profile icon
deepkakkar
Comments
hotnewtop
Profile icon
SixBeeps

Wait, you're using npm? How are you doing that?
Either way, it says "This is probably not a problem with npm. There is likely additional logging output above." so it should have worked correctly.

Profile icon
KingGaming7

I got error like that but not this