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

后端 未结 30 1509
深忆病人
深忆病人 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:21

    For Ubndu 18.04 sudo lsof -t -i tcp:3000 | xargs kill -9

    Its happen when port was unsucessfully terminated so this command will terminat it 4200 or 3000 or3300 any

提交回复
热议问题