Microsoft Windows [版本 6.1.7601] 版权所有 © 2009 Microsoft Corporation。保留所有权利。
C:\Users\asus>npm install -g sumeru npm http GET https://registry.npmjs.org/sumeru npm http 304 https://registry.npmjs.org/sumeru npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/mongodb/1.2.8 npm http GET https://registry.npmjs.org/shelljs/0.0.8 npm http GET https://registry.npmjs.org/uglify-js/2.3.4 npm http GET https://registry.npmjs.org/sockjs/0.3.5 npm http GET https://registry.npmjs.org/redis/0.8.2 npm http 304 https://registry.npmjs.org/mongodb/1.2.8 npm http 304 https://registry.npmjs.org/shelljs/0.0.8 npm http 304 https://registry.npmjs.org/uglify-js/2.3.4 npm WARN package.json uglify-js@2.3.4 No repository field. npm WARN package.json uglify-js@2.3.4 ‘repositories’ (plural) Not supported. npm WARN package.json Please pick one as the ‘repository’ field npm http 304 https://registry.npmjs.org/mkdirp/0.3.3 npm http 304 https://registry.npmjs.org/sockjs/0.3.5 npm http 304 https://registry.npmjs.org/redis/0.8.2 npm http GET https://registry.npmjs.org/node-uuid/1.3.3 npm http GET https://registry.npmjs.org/faye-websocket/0.4.0 npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/source-map npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/bson/0.1.5 npm http 304 https://registry.npmjs.org/node-uuid/1.3.3 npm http 304 https://registry.npmjs.org/faye-websocket/0.4.0 npm WARN package.json faye-websocket@0.4.0 No repository field. npm WARN package.json faye-websocket@0.4.0 ‘repositories’ (plural) Not supported . npm WARN package.json Please pick one as the ‘repository’ field npm http 304 https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/source-map npm http 304 https://registry.npmjs.org/bson/0.1.5 npm http GET https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/amdefine
bson@0.1.5 install C:\Users\asus\AppData\Roaming\npm\node_modules\sumeru\node_ modules\mongodb\node_modules\bson node install.js || (exit 0)
================================================================================
= =
= Attempting to build bson c++ extension =
= Windows: no build will be attempted as binaries are prepackaged =
= Unix: on failure the package will still install without the C++ extension =
= =
================================================================================
npm http 304 https://registry.npmjs.org/wordwrap npm http 304 https://registry.npmjs.org/amdefine C:\Users\asus\AppData\Roaming\npm\sumeru -> C:\Users\asus\AppData\Roaming\npm\no de_modules\sumeru\sumeru\npm-tools\sumeru sumeru@0.7.13 C:\Users\asus\AppData\Roaming\npm\node_modules\sumeru ├── mkdirp@0.3.3 ├── shelljs@0.0.8 ├── redis@0.8.2 ├── sockjs@0.3.5 (node-uuid@1.3.3, faye-websocket@0.4.0) ├── mongodb@1.2.8 (bson@0.1.5) └── uglify-js@2.3.4 (async@0.2.9, optimist@0.3.7, source-map@0.1.22)
C:\Users\asus>s
还是与百度有关的。。。
话说。。那里报错了。。。sumeru的相关信息最后都出来了。。
安装失败应该最后是 err! not ok…
npm WARN package.json uglify-js@2.3.4 No repository field. npm WARN package.json uglify-js@2.3.4 ‘repositories’ (plural) Not supported. npm WARN package.json Please pick one as the ‘repository’ field
npm WARN package.json faye-websocket@0.4.0 No repository field. npm WARN package.json faye-websocket@0.4.0 ‘repositories’ (plural) Not supported . npm WARN package.json Please pick one as the ‘repository’ field
@pptea WRAN 是可以忽略的。。。。
@jiyinyiyong 启动之后还是报错的。。 E:\node\myproject>sumeru start NON BAE MODE
WARN: Side effects in initialization of unused variable extendFrom [null:370,8
BaseDir :E:\node\myproject\
WARN: Side effects in initialization of unused variable getProxy [null:384,8]
DstDir :E:\node\myproject\app
WARN: Side effects in initialization of unused variable cleanObj [null:404,8]
runing [NetMessage] in server
WARN: Side effects in initialization of unused variable uriParamToMap [null:44 8]
==============================================================================
WARN: Side effects in initialization of unused variable mapToUriParam [null:47 8]
= Please ensure that you set the default write concern for the database by se ing =
WARN: Side effects in initialization of unused variable parseJSON [null:523,8]
= one of the options =
WARN: Side effects in initialization of unused variable isSimpleType [null:529 ]
= =
WARN: Side effects in initialization of unused variable setStyles [null:539,8]
= w: (value of > -1 or the string ‘majority’), where < 1 means =
WARN: Boolean && always false [null:758,3]
WARN: Boolean && always false [null:758,3]
= no write acknowlegement = = journal: true/false, wait for flush to journal before acknowlegement = = fsync: true/false, wait for flush to file system before acknowlegement =
=
= For backward compatibility safe is still supported and =
WARN: Boolean && always false [null:762,8] WARN: Boolean && always false [null:762,8] WARN: Condition always false [null:762,8] WARN: Dropping unreachable code [null:763,2] WARN: Condition always false [null:758,3] WARN: Dropping unreachable code [null:759,2] WARN: Boolean && always false [null:1322,5] WARN: Boolean && always false [null:1322,5] WARN: Boolean && always false [null:1322,5] WARN: Condition always false [null:1322,5] WARN: Dropping unreachable code [null:1322,90] WARN: Declarations in unreachable code! [null:1324,4] WARN: Dropping unused function argument ObjectId [null:2306,50] WARN: Dropping unused variable result [null:2319,12] WARN: Dropping unused variable cloneObj [null:3093,8] WARN: Dropping unused function argument value [null:3454,34] WARN: Dropping unused function argument key [null:3454,29] WARN: Dropping unused function argument err [null:3466,20] WARN: Dropping unused variable _getObj [null:3494,8]
= allows values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:tru ] = = the default value is false which means the driver receives does not = = return the information of the success/error of the insert/update/remove =
=
= ex: new Db(new Server(‘localhost’, 27017), {safe:false}) =
=
= http://www.mongodb.org/display/DOCS/getLastError+Command =
=
= The default of no acknowlegement will change in the very near future =
=
= This message will disappear when the default safe is set on the driver Db =
======== SockJS v0.3.5 bound to "/socket" File Server Listening on 8080 Server Listening on 8081
WARN: Side effects in initialization of unused variable _hide [null:3842,20] WARN: Dropping unused function argument onComplete [null:3951,59] WARN: Dropping unused function argument onComplete [null:4034,72] WARN: Dropping unused function argument onComplete [null:4052,65] WARN: Dropping unused function argument err [null:4101,37] WARN: Dropping unused function argument err [null:4134,37] WARN: Dropping unused function argument err [null:4159,43] WARN: Dropping unused variable onePageContainer [null:4547,24] WARN: Dropping unused function argument render [null:4962,58] WARN: Dropping unused function argument render [null:5083,58] WARN: Side effects in initialization of unused variable clearTplContent [null: 50,8] WARN: Side effects in initialization of unused variable buildRender [null:5478 ] WARN: Side effects in initialization of unused variable __UK [null:5707,12] WARN: Side effects in initialization of unused variable isObject [null:5825,6] WARN: Side effects in initialization of unused variable isString [null:5835,6] WARN: Side effects in initialization of unused variable isBoolean [null:5838,6 WARN: Side effects in initialization of unused variable isNumber [null:5841,6] WARN: Side effects in initialization of unused variable isDate [null:5844,6] WARN: Side effects in initialization of unused variable isRegExp [null:5847,6] WARN: Dropping unused function argument validation [null:6111,56] WARN: Dropping unused function argument value [null:6111,50] WARN: Dropping unused function argument key [null:6111,46] WARN: Dropping unused function argument label [null:6111,40] WARN: Dropping unused function argument validation [null:6116,56] WARN: Dropping unused function argument value [null:6116,50] WARN: Dropping unused function argument key [null:6116,46] WARN: Dropping unused function argument label [null:6116,40] WARN: Dropping unused function argument value [null:6183,26] WARN: Dropping unused function argument modelObj [null:6244,50] WARN: Dropping unused variable label [null:6532,32] WARN: Dropping unused variable validation [null:6532,50] WARN: Dropping unused variable validationMsg [null:6532,61] WARN: Dropping unused variable type [null:6532,75] WARN: Dropping unused variable value [null:6532,80] WARN: Side effects in initialization of unused variable validationMsg [null:65 ,4] WARN: Dropping unused function argument validationResult [null:6760,41] WARN: Dropping unused function argument runat [null:6760,34] WARN: Dropping unused function argument ispass [null:6760,26] WARN: Dropping unused function argument status [null:7146,23] WARN: Dropping unused function argument where [null:7277,21] WARN: Dropping unused function argument validationResult [null:7664,41] WARN: Dropping unused function argument runat [null:7664,34] WARN: Dropping unused function argument ispass [null:7664,26] WARN: Dropping unused variable resultObj [null:7193,24] WARN: Dropping unused variable fieldKey [null:7413,4] WARN: Non-strict equality against boolean: == true [null:7427,7] WARN: Dropping unused function argument param [null:7910,17] WARN: Dropping unused function argument param [null:7929,17] WARN: Side effects in initialization of unused variable model [null:7973,8] WARN: Dropping unused function mergeArray [null:7974,13] WARN: Dropping unused function argument i [null:8233,46] WARN: Dropping unused function argument i [null:8260,46] WARN: Dropping unused function argument i [null:8382,46] WARN: Non-strict equality against boolean: == true [null:8369,19] WARN: Dropping unused function argument type [null:8414,32] WARN: Dropping unused function argument i [null:8424,42] WARN: Dropping unused function argument type [null:8444,58] WARN: Dropping unused function argument i [null:8450,42] WARN: Dropping unused function argument type [null:8465,60] WARN: Dropping unused function argument e [null:8689,58] WARN: Non-strict equality against boolean: == false [null:8985,11] WARN: Dropping unused function argument obj [null:9056,29] WARN: Dropping unused function argument func [null:9086,40] WARN: Dropping unused variable TYPE_WIFI [null:9173,8] WARN: Dropping unused variable TYPE_3G [null:9174,8] WARN: Dropping unused variable TYPE_EDGE [null:9175,8] WARN: Dropping unused variable TYPE_GPRS [null:9176,8] WARN: Dropping unused variable type [null:9179,8] WARN: Dropping unused function argument _$ [null:9441,71] WARN: Dropping unreachable code [null:9446,0] WARN: Dropping unused function argument hash [null:9549,37] WARN: Dropping unused variable TERROR [null:9553,139]
WARN: Dropping unused variable EOF [null:9553,151] WARN: Dropping unused function popStack [null:9563,13] WARN: Dropping unused variable a [null:9576,47] WARN: Dropping unused variable col [null:9712,12] WARN: Dropping unused variable YYSTATE [null:9774,4] WARN: Dropping unreachable code [null:9783,0] WARN: Dropping unreachable code [null:9785,0] WARN: Dropping unreachable code [null:9787,0] WARN: Dropping unreachable code [null:9789,0] WARN: Dropping unreachable code [null:9791,0] WARN: Dropping unreachable code [null:9793,0] WARN: Dropping unreachable code [null:9795,0] WARN: Dropping unreachable code [null:9797,0] WARN: Dropping unreachable code [null:9799,0] WARN: Dropping unreachable code [null:9801,0] WARN: Dropping unreachable code [null:9803,0] WARN: Dropping unreachable code [null:9805,0] WARN: Dropping unreachable code [null:9807,0] WARN: Dropping unreachable code [null:9809,0] WARN: Dropping unreachable code [null:9811,0] WARN: Dropping unreachable code [null:9815,0] WARN: Dropping unreachable code [null:9817,0] WARN: Dropping unreachable code [null:9819,0] WARN: Dropping unreachable code [null:9821,0] WARN: Dropping unreachable code [null:9823,0] WARN: Dropping unreachable code [null:9825,0] WARN: Dropping unreachable code [null:9827,0] WARN: Dropping unreachable code [null:9829,0] WARN: Dropping unreachable code [null:9831,0] WARN: Dropping unreachable code [null:9833,0] WARN: Dropping unused function argument str [null:9878,23] WARN: Dropping unused function argument level [null:9878,16] WARN: Dropping unused function argument message [null:9988,32] WARN: Dropping unused function argument type [null:10377,39] WARN: Dropping unused variable depth [null:10215,10] WARN: Dropping unused variable child [null:10215,17] WARN: Dropping unused variable inverse [null:10215,24] WARN: Dropping unused variable aliases [null:10510,12] WARN: Dropping unused function argument id [null:10643,115] WARN: Dropping unused variable nextStack [null:10653,32] WARN: Dropping unused variable stringParam [null:10654,30] WARN: Dropping unused function argument $depth [null:10900,39] WARN: Dropping unused variable error [null:10976,15] WARN: Dropping unused function argument a [null:11018,1397] WARN: Dropping unused function argument a [null:11018,13915] WARN: Dropping unused function argument a [null:11018,18717] WARN: Dropping unused function argument a [null:11018,18514] WARN: Dropping unused function argument b [null:11018,18856] WARN: Dropping unused function argument a [null:11018,19227] WARN: Dropping unused function argument a [null:11018,19352] WARN: Dropping unused function argument a [null:11018,19450] WARN: Dropping unused function argument a [null:11018,28310] WARN: Side effects in initialization of unused variable fullScreen [null:11031 ] WARN: Side effects in initialization of unused variable innerHeight [null:1103 16] WARN: Side effects in initialization of unused variable devicePixelRatio [null 1036,16] WARN: Side effects in initialization of unused variable getCookie [null:11077,
WARN: Side effects in initialization of unused variable deleteCookie [null:110
,5]
WARN: Dropping unused variable isObject [null:11122,8]
WARN: Dropping unused variable isString [null:11132,8]
WARN: Dropping unused variable isBoolean [null:11135,8]
WARN: Dropping unused variable isNumber [null:11138,8]
WARN: Dropping unused variable isDate [null:11141,8]
WARN: Dropping unused variable isRegExp [null:11144,8]
WARN: Dropping unused function preventDefault [null:11551,17]
WARN: Dropping unused variable fingers [null:11571,7]
WARN: Dropping unused variable __lastTapEndTime [null:11583,16]
WARN: Dropping unused function isTouchStart [null:11599,21]
WARN: Dropping unused variable em [null:11655,28]
WARN: Dropping unused variable em [null:11752,24]
WARN: Dropping unused function argument index [null:12062,45]
path.existsSync is now called fs.existsSync
.
@youxiachai 启动之后还是报错。。我在上面贴了出来
@jiyinyiyong 哦,还是谢了,我是弄这个的新手,也不知道怎么在仓库提交。。