这是我输入命令npm start
时得到的。我不知道这个错误是从哪里来的,因为我是完全陌生的。我还没有尝试过任何东西,因为我完全不熟悉角度。波纹管是我收到的错误消息。请帮助。
$ npm start
我得到这个结果:
> ng-fundamentals@0.0.0 start C:\Users\Lenovo\ng-fundamentals> ng serve
npm ERR! file ;C:\Program Files\nodejs\
npm ERR! path ;C:\Program Files\nodejs\
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn ;C:\Program Files\nodejs\
npm ERR! ng-fundamentals@0.0.0 start: `ng serve`
npm ERR! spawn ;C:\Program Files\nodejs\ ENOENT
npm ERR!
npm ERR! Failed at the ng-fundamentals@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\Lenovo\AppData\Roaming\npm-cache\_logs\2019-09-14T20_51_21_756Z-debug.log