manfredsteyer / angular-ssr

14 stars 4 forks source link

Getting error npm ERR! ng4-cli-demo@0.0.0 build: `npm run build:client` #3

Open gnanavelshenll opened 6 years ago

gnanavelshenll commented 6 years ago

I'm getting this error while running your code.

` npm run build

ng4-cli-demo@0.0.0 build C:\Users\Gnanavel\Desktop\angular-ssr-master npm run build:client

npm ERR! file C:\WINDOWS\system32\cmd.exe; npm ERR! path C:\WINDOWS\system32\cmd.exe; npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe; npm ERR! ng4-cli-demo@0.0.0 build: npm run build:client npm ERR! spawn C:\WINDOWS\system32\cmd.exe; ENOENT npm ERR! npm ERR! Failed at the ng4-cli-demo@0.0.0 build 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\Gnanavel\AppData\Roaming\npm-cache_logs\2017-12-29T07_30_50_568Z-debug.log `