paascloud-login-web icon indicating copy to clipboard operation
paascloud-login-web copied to clipboard

hi,运行出错

Open prlei opened this issue 6 years ago • 5 comments

npm install 没有问题 npm run dev 问题: ⇒ npm run dev

[email protected] dev /Users/xxx/hepbum/temp/nodetest/paascloud-login-web webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

10% building modules 1/1 modules 0 activeevents.js:136 throw er; // Unhandled 'error' event ^

Error: getaddrinfo ENOTFOUND dev-login.paascloud.net at errnoException (dns.js:55:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:26) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! /Users/xxx/.npm/_logs/2018-05-05T13_57_40_572Z-debug.log

log文件错误内容: 18 verbose node v9.2.0 19 verbose npm v6.0.0 20 error code ELIFECYCLE 21 error errno 1 22 error [email protected] dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js 22 error Exit status 1 23 error Failed at the [email protected] dev script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

是版本问题么?晕乎乎......

prlei avatar May 05 '18 14:05 prlei

把启动配置改一下就ok了

tomuGo avatar Jun 22 '18 12:06 tomuGo

这回答 我给18分,并拆成666送给你。。。。

prlei avatar Jul 03 '18 10:07 prlei

把启动配置改一下就ok了

具体要怎么改呢?

zzhignore1 avatar Dec 13 '18 09:12 zzhignore1

怎么修改?望解答。

chuck54430 avatar Jan 29 '19 02:01 chuck54430

修改config/index.js文件host 和port配置。

image

chuck54430 avatar Jan 29 '19 03:01 chuck54430