npm run dev 后的报错解决

 报该错误是config文件中的index.js配置host ...
 

host处 改为localhost 或者本地ip

原文地址:https://www.cnblogs.com/big--Bear/p/12877116.html