DoraCMS

您现在的位置是:首页>文档内容页

文档详情

DoraCMS运行求助

es6
doramart 2018-08-10 01:24:12 技巧230839
Windows和mac都报这种错

依赖都装了,Redis也启动了,改装的都装了


> doracms@2.1.0 dev /Users/nirongxu/Documents/workspace/DoraCMS

> concurrently "npm run devNodeServer" "gulp"


[0] 

[0] > doracms@2.1.0 devNodeServer /Users/nirongxu/Documents/workspace/DoraCMS

[0] > cross-env NODE_ENV=development MICRO_CACHE=true node ./server

[0] 

[1] [01:06:51] Using gulpfile ~/Documents/workspace/DoraCMS/gulpfile.js

[1] [01:06:51] Starting 'default1'...

[1] [01:06:51] Finished 'default1' after 9.31 ms

[1] [01:06:51] Starting 'default2'...

[1] [01:06:51] Finished 'default2' after 1.47 ms

[1] [01:06:51] Starting 'default'...

[1] [01:06:51] Finished 'default' after 987 μs

[0] Redis状态开关: false

[0] server started at localhost:8080

[0] connect mongodb success

[0] babel-preset-env: `DEBUG` option

[0] 

[0] Using targets:

[0] {

[0]   "chrome": "52"

[0] }

[0] 

[0] Modules transform: false

[0] 

[0] Using plugins:

[0]   transform-async-to-generator {"chrome":"52"}

[0]   syntax-trailing-function-commas {"chrome":"52"}

[0]  DONE  Compiled successfully in 14678ms01:07:07

[0] 

[0] webpack built 5b10ffee1bffd4f9267c in 14678ms

[0] events.js:183

[0]       throw er; // Unhandled 'error' event

[0]       ^

[0] 

[0] Error: Redis connection to 10.0.0.1:6379 failed - connect ETIMEDOUT 10.0.0.1:6379

[0]     at Object._errnoException (util.js:1022:11)

[0]     at _exceptionWithHostPort (util.js:1044:20)

[0]     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)

[0] npm ERR! code ELIFECYCLE

[0] npm ERR! errno 1

[0] npm ERR! doracms@2.1.0 devNodeServer: `cross-env NODE_ENV=development MICRO_CACHE=true node ./server`

[0] npm ERR! Exit status 1

[0] npm ERR! 

[0] npm ERR! Failed at the doracms@2.1.0 devNodeServer script.

[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

[0] 

[0] npm ERR! A complete log of this run can be found in:

[0] npm ERR!     /Users/nirongxu/.npm/_logs/2018-08-09T17_08_08_274Z-debug.log

[0] npm run devNodeServer exited with code 1



文章评论

Cancel the reply
Login Participate In Comments

Review(