標籤:script one nal lan back elf ror version created
這個項目https://github.com/wechaty/we...
以前都是用人家弄好的手腳架搞得es6,搞了2天搞起了es6還報錯,錯誤資訊在下面,然後我想請教大神:
1我到底應該怎麼弄才能在windows上跑起來,
2還有如果要學Docker,有沒有什麼好的學習docker的中文教程?
3還有裡面都是.ts結尾的是什麼鬼?要學會如何用這個應該去學什麼東西?在哪裡學比較好?
E:\weixin\wechaty>npm run dev[email protected] dev E:\weixin\wechatybabel-node ./src/mybot.jsINFO Wechaty v0.5.0 initializing...[7588:15908:1105/175418:ERROR:mf_helpers.cc(12)] Errorin dxva_video_decode_accelerator_win.cc on line 345WARN PuppetWebBrowserDriver getChromeDriver() exception: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:52667, retry: 0WARN PuppetWebBrowserDriver getChromeDriver() with retry: 1E:\weixin\wechaty\[email protected]r\lib\promise.js:2497throw error;^Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:52667at ClientRequest. (E:\weixin\wechaty\nod[email protected]\http\index.js:238:15)at emitOne (events.js:96:13)at ClientRequest.emit (events.js:188:7)at Socket.socketErrorListener (_http_client.js:306:9)at emitOne (events.js:96:13)at Socket.emit (events.js:188:7)at emitErrorNT (net.js:1272:8)at _combinedTickCallback (internal/process/next_tick.js:74:11)at process._tickDomainCallback (internal/process/next_tick.js:122:9)From: Task: WebDriver.createSession()at Function.createSession (E:\weixin\wechaty\node_m[email protected]\lib\webdriver.js:776:24)at Function.createSession (E:\weixin\wechaty\node_m[email protected]\chrome.js:709:29)at createDriver (E:\weixin\wechaty\node_modules.3.[email protected]\index.js:167:33)at Builder.build (E:\weixin\wechaty\node_modules.3[email protected]\index.js:639:16)at BrowserDriver. (E:\weixin\wechaty\nod[email protected]\src\puppet-web\browser-driver.ts:131:24)at next (native)at E:\weixin\wechaty\[email protected]\dist\src\puppet-web\browser-driver.js:7:65at new Promise (E:\weixin\wechaty\node_modules.2.4[email protected]\modules\es6.promise.js:191:7)at __awaiter (E:\weixin\wechaty\node_modules.0.5.1@wechaty\dist\src\puppet-web\browser-driver.js:3:12)at BrowserDriver.getChromeDriver (E:\weixin\wechaty\[email protected]\dist\src\puppet-web\browser-driver.js:65:16)npm ERR! Windows_NT 10.0.14393npm ERR! argv "E:\Program Files\nodejs\node.exe" "E:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"npm ERR! node v6.2.0npm ERR! npm v3.8.9npm ERR! code ELIFECYCLEnpm ERR! [email protected] dev: babel-node ./src/mybot.j snpm ERR! Exit status 1npm ERR!npm ERR! Failed at the [email protected] dev script ‘babel-node ./src/mybot.js‘.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem withthe weixinbot package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! babel-node ./src/mybot.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs weixinbotnpm ERR! Or if that isn‘t available, you can get theirinfo via:npm ERR! npm owner ls weixinbotnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! E:\weixin\wechaty\npm-debug.log
請問這個git上開源的node項目怎樣才能在windows用Npm跑起來 >> node.js
這個答案描述的挺清楚的:
http://www.goodpm.net/postreply/node.js/1010000007393943/請問這個git上開源的node項目怎樣才能在windows用Npm跑起來.html
請問這個git上開源的node項目怎樣才能在windows用Npm跑起來