angularjs2 启动的时候怎么解决Port 4200 is already in use

来源:互联网 发布:mac照片共享什么意思 编辑:程序博客网 时间:2024/06/15 15:37

1、相应找到以下目录node_modules/@angular/cli/lib/config/中的 schema.json

2、搜索到到默认的“4200”端口,

3、把4200改为其它的没有被占用的端口,如6200 

好了,angularjs2 启动的时候端口被占用的问题就轻轻松松的解决啦。

阅读全文
2 0