修改bootstrap后报错
来源:2-5 开发准备

二农戏猪
2017-07-29
Port 4200 is already in use. Use '--port' to specify a different port.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! stock@0.0.0 start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the stock@0.0.0 start script 'ng serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the stock package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs stock
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls stock
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\39502\auction\npm-debug.log
1回答
-
Port 4200 is already in use. Use '--port' to specify a different port.
这句话的意思是4200端口已经被占用,使用--port参数来指定一个不同的端口。
你是不是之前的应用没关,又启动了一个新的?
012017-07-31
相似问题