D:\servers\nodejs>npminstallexpress-gnpmhttpGEThttps://registry.npmjs.org/expressnpmhttp304https://registry.npmjs.org/expressnpmhttpGEThttps://registry.npmjs.org/commander/0.6.1npmhttpGEThttps://registry.npmjs.org/range-parser/0.0.4npmhttpGEThttps://registry.npmjs.org/cookie/0.0.5npmhttpGEThttps://registry.npmjs.org/fresh/0.1.0npmhttpGEThttps://registry.npmjs.org/connect/2.7.2npmhttpGEThttps://registry.npmjs.org/methods/0.0.1npmhttpGEThttps://registry.npmjs.org/cookie-signature/0.0.1npmhttpGEThttps://registry.npmjs.org/send/0.1.0npmhttpGEThttps://registry.npmjs.org/buffer-crc32/0.1.1npmhttpGEThttps://registry.npmjs.org/mkdirp/0.3.3npmhttpGEThttps://registry.npmjs.org/debugnpmhttp304https://registry.npmjs.org/commander/0.6.1npmhttp304https://registry.npmjs.org/range-parser/0.0.4npmhttp304https://registry.npmjs.org/fresh/0.1.0npmhttp304https://registry.npmjs.org/cookie/0.0.5npmhttp304https://registry.npmjs.org/connect/2.7.2npmhttp304https://registry.npmjs.org/methods/0.0.1npmhttp304https://registry.npmjs.org/cookie-signature/0.0.1npmhttp304https://registry.npmjs.org/send/0.1.0npmhttp304https://registry.npmjs.org/buffer-crc32/0.1.1npmWARNpackage.jsonmethods@0.0.1NoREADME.mdfilefound!npmhttp304https://registry.npmjs.org/mkdirp/0.3.3npmhttp304https://registry.npmjs.org/debugnpmhttpGEThttps://registry.npmjs.org/mime/1.2.6npmhttpGEThttps://registry.npmjs.org/qs/0.5.1npmhttpGEThttps://registry.npmjs.org/formidable/1.0.11npmhttpGEThttps://registry.npmjs.org/bytes/0.1.0npmhttpGEThttps://registry.npmjs.org/pause/0.0.1npmhttp304https://registry.npmjs.org/mime/1.2.6npmhttp304https://registry.npmjs.org/qs/0.5.1npmhttp304https://registry.npmjs.org/formidable/1.0.11npmhttp304https://registry.npmjs.org/pause/0.0.1npmhttp304https://registry.npmjs.org/bytes/0.1.0C:\Users\Aries\AppData\Roaming\npm\express->C:\Users\Aries\AppData\Roaming\npm\node_modules\express\bin\expressexpress@3.1.0C:\Users\Aries\AppData\Roaming\npm\node_modules\express├──methods@0.0.1├──fresh@0.1.0├──range-parser@0.0.4├──cookie-signature@0.0.1├──buffer-crc32@0.1.1├──cookie@0.0.5├──debug@0.7.2├──commander@0.6.1├──mkdirp@0.3.3├──send@0.1.0(mime@1.2.6)└──connect@2.7.2(pause@0.0.1,bytes@0.1.0,qs@0.5.1,formidable@1.0.11)npmERR!Error:readECONNRESETnpmERR!aterrnoException(net.js:863:11)npmERR!atTCP.onread(net.js:524:19)npmERR!Ifyouneedhelp,youmayreportthislogat:npmERR!npmERR!oremailitto:npmERR!npmERR!SystemWindows_NT6.1.7601npmERR!command"D:\\servers\\nodejs\\\\node.exe""D:\\servers\\nodejs\\node_modules\\npm\\bin\\npm-cli.js""install""express""-g"npmERR!cwdD:\servers\nodejsnpmERR!node-vv0.10.0npmERR!npm-v1.2.14npmERR!syscallreadnpmERR!codeECONNRESETnpmERR!errnoECONNRESETnpmERR!npmERR!Additionalloggingdetailscanbefoundin:npmERR!D:\servers\nodejs\npm-debug.lognpmERR!notokcode0D:\servers\nodejs>貌似不成功然后又$gitclonegit://github.com/visionmedia/express.git--depth1$cdexpress$npminstall
2 回答
RISEBY
TA贡献1856条经验 获得超5个赞
既然用了node,就不要在windows上开发了。完全可以装个虚拟的ubuntu进行开发。不要怕麻烦,linux没接触过的话,看着复杂,其实熟悉了以后,会觉得比windows好很多。不是说windows里就不能用node。但用了ubuntu(或者mac)开发node后,你绝对就不再想用windows了
添加回答
举报
0/150
提交
取消