0
我正在使用npm(节点packege管理器),与Angular2, 我试图改变服务器的端口,但它 不运行,这是我的bs -config.json:npm如何更改服务器端口
{
"server": {
"port": 8080
"baseDir": "src",
"routes": {
"/node_modules": "node_modules"
}
}
}
你也可以尝试不用永久更改而运行像这样'ng serve --port 8080' –