Angular WebStrom运行错误npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: `ng serv
> [email protected] start D:\angular\angular
> ng serve
'node' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ng serve`
npm ERR! Exit status 1
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! C:\Users\LH_\AppData\Roaming\npm-cache\_logs\2018-08-23T17_29_18_015Z-debug.log
Process finished with exit code 1
查了很多,网上的结果是80端口被占用导致的,按照网上说法做了很多遍并无卵用。
出现这种情况并不影响Angular项目运行,但是并没有找到正确的解决方案!如果有的话请告诉我呀
打开Node.js command prompt,进入项目的目录下,ng serve,你会发现 是可以运行的在打开http://localhost:4200/