Friday, 7 September 2018

npm start is not working npm (ERR! Failed at the apm@0.0.0 start script.)

I am using example in link to learn angular. but when I run npm start it shows error. I searched for solution it ask to update npm or angular version but I am already using latest as below

npm -v = 6.4.1

node -v = 10.9.0

angular CLI = 6.1.5

I am using windows 7

 > apm@0.0.0 start F:\Angular\Angular-GettingStarted-master\APM-Start
 > ng serve -o

 npm ERR! file bash
 npm ERR! path bash
 npm ERR! code ELIFECYCLE
 npm ERR! errno ENOENT
 npm ERR! syscall spawn bash
 npm ERR! apm@0.0.0 start: `ng serve -o`
 npm ERR! spawn bash ENOENT
 npm ERR!
 npm ERR! Failed at the apm@0.0.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\AppData\Roaming\npm-cache\_logs\2018-09- 
 05T16_12_41_076Z-debug.log



from npm start is not working npm (ERR! Failed at the apm@0.0.0 start script.)

No comments:

Post a Comment