想在本機上裝Bootstrap的源碼,需要安裝Grunt。按照官網的表述,在執行npminstall時,出現了很多報錯。希望有人指點一下是什么原因?還要裝其他的環境嗎?以下為命令行:F:\Officesoftware2\bootstrap-3.2.0>[email protected]:Packagewasrenamedto'grunt-jscs'[email protected].\[email protected]:\Officesoftware2\bootstrap-3.2.0\node_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantomjs\node_modules\phantomjsnodeinstall.jsDownloadinghttps://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-windows.zipSavingtoC:\Users\博聞\AppData\Local\Temp\phantomjs\phantomjs-1.9.7-windows.zipReceiving...Errormakingrequest.Error:connectETIMEDOUTaterrnoException(net.js:904:11)atObject.afterConnect[asoncomplete](net.js:895:19)Pleasereportthisfulllogathttps://github.com/Medium/[email protected]:nodeinstall.jsnpmERR!Exitstatus1npmERR!npmERR!Failedatthephantomjs@1.9.10installscript.npmERR!Thisismostlikelyaproblemwiththephantomjspackage,npmERR!notwithnpmitself.npmERR!Telltheauthorthatthisfailsonyoursystem:npmERR!nodeinstall.jsnpmERR!Youcangettheirinfovia:npmERR!npmownerlsphantomjsnpmERR!Thereislikelyadditionalloggingoutputabove.npmERR!SystemWindows_NT6.2.9200npmERR!command"F:\Officesoftware2\Node.js\\node.exe""F:\Officesoftware2\Node.js\node_modules\npm\bin\npm-cli.js""install"npmERR!cwdF:\Officesoftware2\bootstrap-3.2.0npmERR!node-vv0.10.32npmERR!npm-v1.4.28npmERR!codeELIFECYCLEnpmERR!notokcode0
win8安裝grunt,執行npm install時報錯
MMTTMM
2019-04-13 08:46:31