VUE Error: listen EADDRNOTAVAIL: address not available
vue Project npm run dev Error: Error: listen EADDRNOTAVAIL: address not available …
Cause: the configured IP address is incorrect.
Solution: open the config
folder and find index.js
file, modify the value of host
to localhost
, as shown in the following figure