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
Read More:
- After Vite starts, it will prompt “network: use ` — host ` to expose”, and the service cannot be accessed through network IP
- [Solved] Vue item packaging error: Failed to load resource: the server responded with a status of 404 (Not Found)
- proxy error: could not proxy request [How to Solve]
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- Vue3 + vite install element-plus error [How to Solve]
- vue-elemnt-admin npm run dev [How to Solve]
- Vue Startup Error: 98% after emitting CopyPlugin This dependency was not found:
- [Solved] Node.js: Error: connect ECONNREFUSED ::1:3306
- How to Solve Nodejs error: cannot find module ‘. /application’
- Solution to some map files in JS folder after Vue packaging (remove the map. JS file)
- [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string. Received undefined error
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- Vue project change directory run error:Multiple assets emit different content to the same filename index.html
- npm ERR code ELIFECYCLE [How to Solve]
- How to Solve Webpack packag iconfont font error
- [Solved] npm run start Run Error: Missing script: “start“
- [Solved] Uncaught SyntaxError: Unexpected token ‘<‘
- [Solved] electron project Package Error: spawn exe\dll ENOENT
- How to Solve electron import page Error
- [Solved] Vue-cli Error: Module not found: Error: Can‘t resolve ‘vue-router ‘