Vue cli compiled successfully and the browser was unable to open localhost:8080

problem description

just opened it is still normal, it says suddenly can not open

the environmental background of the problems and what methods you have tried

1. Recompile, after the compilation is successful, the browser keeps turning, but still cannot open
2. After re-npm i, the update, it still cannot be opened

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

ask God to take a look! The front-end chicken is very grateful!

Dec.17,2021

have you just touched vue? Are you running npm run serve or npm run dev?
or describe the problem in more detail


npm run dev ?
Open the Terminal terminal in vs code and see if there is anything wrong


it may be your proxy server configuration problem. You can go to the index.js of the config directory to find a host, to see where the localhost is written. What is written in


Pos? Is there an endless cycle or something?


check the console to see if there is an error.

Menu