VUE Error: listen EADDRNOTAVAIL: address not available
vue项目运行npm run dev时出现 Error: listen EADDRNOTAVAIL: address not available … 的错误原因:配置的IP不对解决方法:打开config文件夹,找到index.js文件,将里面的host修改为localhost, 如下图所示:...
·
- vue项目运行npm run dev时出现 Error: listen EADDRNOTAVAIL: address not available … 的错误
- 原因:配置的IP不对
- 解决方法:打开
config
文件夹,找到index.js
文件,将host
的值修改为localhost
, 如下图所示:
更多推荐
所有评论(0)