转自:VUE Error: listen EADDRNOTAVAIL: address not available
- vue项目运行npm run dev时出现 Error: listen EADDRNOTAVAIL: address not available ... 的错误

-
原因:配置的IP不对
-
解决方法:打开
config文件夹,找到index.js文件,将host的值修改为localhost, 如下图所


转自:VUE Error: listen EADDRNOTAVAIL: address not availablevue项目运行npm run dev时出现 Error: listen EADDRNOTAVAIL: address not available ... 的错误原因:配置的IP不对解决方法:打开config文件夹,找到index.js文件,将host的值修改为loc...
转自:VUE Error: listen EADDRNOTAVAIL: address not available

原因:配置的IP不对
解决方法:打开config文件夹,找到index.js文件,将host的值修改为localhost, 如下图所


更多推荐
所有评论(0)