zoukankan      html  css  js  c++  java
  • 请问这个git上开源的node项目怎样才能在windows用Npm跑起来

    这个项目https://github.com/wechaty/we...
    以前都是用人家弄好的手脚架搞得es6,搞了2天搞起了es6还报错,错误信息在下面,然后我想请教大神:
    1我到底应该怎么弄才能在windows上跑起来,
    2还有如果要学Docker,有没有什么好的学习docker的中文教程?
    3还有里面都是.ts结尾的是什么鬼?要学会如何用这个应该去学什么东西?在哪里学比较好?

    E:weixinwechaty>npm run dev
    
    weixinbot@1.0.0 dev E:weixinwechaty
    babel-node ./src/mybot.js
    INFO Wechaty v0.5.0 initializing...
    [7588:15908:1105/175418:ERROR:mf_helpers.cc(12)] Error
    in dxva_video_decode_accelerator_win.cc on line 345
    WARN PuppetWebBrowserDriver getChromeDriver() exception
    : ECONNREFUSED connect ECONNREFUSED 127.0.0.1:52667, re
    try: 0
    WARN PuppetWebBrowserDriver getChromeDriver() with retr
    y: 1
    E:weixinwechaty
    ode_modules.3.0.0@selenium-webdrive
    rlibpromise.js:2497
    throw error;
    ^
    
    Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:5266
    7
    at ClientRequest. (E:weixinwechaty
    od
    e_modules.3.0.0@selenium-webdriverhttpindex.js:238:1
    5)
    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_tic
    k.js:74:11)
    at process._tickDomainCallback (internal/process/ne
    xt_tick.js:122:9)
    From: Task: WebDriver.createSession()
    at Function.createSession (E:weixinwechaty
    ode_m
    odules.3.0.0@selenium-webdriverlibwebdriver.js:776:2
    4)
    at Function.createSession (E:weixinwechaty
    ode_m
    odules.3.0.0@selenium-webdriverchrome.js:709:29)
    at createDriver (E:weixinwechaty
    ode_modules.3.
    0.0@selenium-webdriverindex.js:167:33)
    at Builder.build (E:weixinwechaty
    ode_modules.3
    .0.0@selenium-webdriverindex.js:639:16)
    at BrowserDriver. (E:weixinwechaty
    od
    e_modules.0.5.1@wechatysrcpuppet-webrowser-driver.
    ts:131:24)
    at next (native)
    at E:weixinwechaty
    ode_modules.0.5.1@wechatydi
    stsrcpuppet-webrowser-driver.js:7:65
    at new Promise (E:weixinwechaty
    ode_modules.2.4
    .1@core-jsmoduleses6.promise.js:191:7)
    at __awaiter (E:weixinwechaty
    ode_modules.0.5.1
    @wechatydistsrcpuppet-webrowser-driver.js:3:12)
    at BrowserDriver.getChromeDriver (E:weixinwechaty
    
    ode_modules.0.5.1@wechatydistsrcpuppet-webrowse
    r-driver.js:65:16)
    
    npm ERR! Windows_NT 10.0.14393
    npm ERR! argv "E:Program Files
    odejs
    ode.exe" "E:
    Program Files
    odejs
    ode_modules
    pmin
    pm-cl
    i.js" "run" "dev"
    npm ERR! node v6.2.0
    npm ERR! npm v3.8.9
    npm ERR! code ELIFECYCLE
    npm ERR! weixinbot@1.0.0 dev: babel-node ./src/mybot.j s
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the weixinbot@1.0.0 dev script 'babe
    l-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 with
    the 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.js
    npm ERR! You can get information on how to open an issu
    e for this project with:
    npm ERR! npm bugs weixinbot
    npm ERR! Or if that isn't available, you can get their
    info via:
    npm ERR! npm owner ls weixinbot
    npm ERR! There is likely additional logging output abov
    e.
    
    npm ERR! Please include the following file with any sup
    port request:
    npm ERR! E:weixinwechaty
    pm-debug.log

    请问这个git上开源的node项目怎样才能在windows用Npm跑起来 >> node.js

    这个答案描述的挺清楚的:
    http://www.goodpm.net/postreply/node.js/1010000007393943/请问这个git上开源的node项目怎样才能在windows用Npm跑起来.html
  • 相关阅读:
    自编jQuery插件实现模拟alert和confirm
    5.7 Windows常用网络命令
    学历查询和专业代码查询
    学习动态性能表(22)V$resource_limit
    学习动态性能表(21)v$lincense
    学习动态性能表(20)--v$waitstat
    学习动态性能表(19)--v$undostat
    学习动态性能表(18)--v$system_event
    学习动态性能表(17)--v$segstat&v$segment_statistics
    学习动态性能表(16)--v$rowcache
  • 原文地址:https://www.cnblogs.com/scrumme/p/7197586.html
Copyright © 2011-2022 走看看