webpack-dev-server error on npm start

前端 未结 2 689
面向向阳花
面向向阳花 2021-01-28 06:37

I am trying to run npm start on ng2-admin,all was working untill I did npm update to try to update the pacakages,

after that did npm start and have an error:

         


        
2条回答
  •  醉话见心
    2021-01-28 07:07

    The relevant part of the error message is : listen EADDRINUSE 127.0.0.1:8080. That means that webpack-dev-server is trying to run on 127.0.0.1:8080, but the address and port is already in use.

    Try opening your browser and typing 127.0.0.1:8080 into the address bar. Perhaps there is another server running on that port already. Run jobs to check for background processes.

提交回复
热议问题