throw er; // Unhandled 'error' event
原创
©著作权归作者所有:来自51CTO博客作者风华浪浪的原创作品,请联系作者获取转载授权,否则将追究法律责任
npm run dev
10% building modules 1/1 modules 0 activeevents.js:174
throw er; // Unhandled 'error' event
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vuedatabase@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vuedatabase@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-12-26T04_55_30_644Z-debug.log
修改vue项目下conf文件即配置文件下,连接后台的ip和端口,host的ip和端口。将ip配置成本机,或者项目实际需要的ip地址,问题解决
解决办法
修改vue项目下conf文件即配置文件下,
连接后台的ip和端口,host的ip和端口。
将ip配置成本机,或者项目实际需要的ip地址,问题解决