“Port 4200 is already in use” when running the ng serve command

后端 未结 30 1498
深忆病人
深忆病人 2020-12-02 03:47

I am learning angular 2 and for the first time I am using the angular CLI project to create a sandbox project.

I was able to run the command \"ng serve\" and it wor

30条回答
  •  长情又很酷
    2020-12-02 04:15

    I was facing the same issue every time I have to kill the port.

    I tried ./node_modules/.bin/ng serve --proxy-config proxy.conf.json --host 0.0.0.0 Instead of npm start and its works

提交回复
热议问题