请问这个git上开源的node项目怎样才能在windows用Npm跑起来
这个项目https://github.com/wechaty/we...
以前都是用人家弄好的手脚架搞得es6,搞了2天搞起了es6还报错,错误信息在下面,然后我想请教大神:
1我到底应该怎么弄才能在windows上跑起来,
2还有如果要学Docker,有没有什么好的学习docker的中文教程?
3还有里面都是.ts结尾的是什么鬼?要学会如何用这个应该去学什么东西?在哪里学比较好?
E:\weixin\wechaty>npm run dev
weixinbot@1.0.0 dev E:\weixin\wechaty
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:\weixin\wechaty\node_modules.3.0.0@selenium-webdrive
r\lib\promise.js:2497
throw error;
^
Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:5266
7
at ClientRequest. (E:\weixin\wechaty\nod
e_modules.3.0.0@selenium-webdriver\http\index.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:\weixin\wechaty\node_m
odules.3.0.0@selenium-webdriver\lib\webdriver.js:776:2
4)
at Function.createSession (E:\weixin\wechaty\node_m
odules.3.0.0@selenium-webdriver\chrome.js:709:29)
at createDriver (E:\weixin\wechaty\node_modules.3.
0.0@selenium-webdriver\index.js:167:33)
at Builder.build (E:\weixin\wechaty\node_modules.3
.0.0@selenium-webdriver\index.js:639:16)
at BrowserDriver. (E:\weixin\wechaty\nod
e_modules.0.5.1@wechaty\src\puppet-web\browser-driver.
ts:131:24)
at next (native)
at E:\weixin\wechaty\node_modules.0.5.1@wechaty\di
st\src\puppet-web\browser-driver.js:7:65
at new Promise (E:\weixin\wechaty\node_modules.2.4
.1@core-js\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
\node_modules.0.5.1@wechaty\dist\src\puppet-web\browse
r-driver.js:65:16)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "E:\Program Files\nodejs\node.exe" "E:
\Program Files\nodejs\node_modules\npm\bin\npm-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:\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跑起来的更多相关文章
- 分布式版本库——Windows下Git的环境部署以及在GitHub上开源自己的项目
分布式版本库--Windows下Git的环境部署以及在GitHub上开源自己的项目 这几天着实忙的焦头烂额,可惜不是搞技术,今天周日,难得闲下来,写篇大家都想学习的Git教程,其实廖雪峰老师的网站已经 ...
- Eclipse导入git上的maven web项目 部署 - lpshou
http://www.tuicool.com/articles/fqm2Qf 推酷 文章 微博 主题 站点 活动 应用 周刊 登录 Eclipse导入git上的maven web项目 部署 - ...
- Git上传本地仓库项目到gitee远程仓库(命令篇)
前言:最近整理了一下自己之前的自学代码,包括一些练习的项目.发现有些杂乱,故想使用Gitte(码云)管理.加上不少公司使用Git,所以写了这篇文章记录. 如果我们本地有了项目,那么如何上传到码云上呢? ...
- android git上开源的项目收藏
本文为那些不错的Android开源项目第一篇--个性化控件(View)篇,主要介绍Android上那些不错个性化的View,包括ListView.ActionBar.Menu.ViewPager.Ga ...
- 【github】git常用命令和node项目
这是之前在本地搞的一个小东西.因为之前电脑经常会很卡.后来发现任务管理器中多了两个不知名的进程:chromgpu.exe和flrefox.exe 乍一看以为和chrome和firefox两个浏览器有关 ...
- Eclipse导入git上的maven web项目 部署
1 Eclipse中导入Git的maven项目 方法1: (1)首先当然是拉代码. 在Eclipse里面有个Git Repositories Exploring.就是Git仓库,clone a git ...
- Eclipse导入git上的maven web项目 以及部署成功运行
在公司开发的时候都是用maven 以及git环境 开发的环境,那么我们初学者怎么将公司的项目成功导入到eclipse中,并且成功运行那???下面的教程就可以告诉大家~ (ps:第二步可能是大家会遇 ...
- git上导出的maven项目转成正常的Dynamic web project
项目地址:http://git.oschina.net/jiafuwei0407/springmvc,springmvc maven项目 包含日志的测试 restful api 如何在eclipse ...
- 大数据攻城狮之进阶技能-使用Git上传自己的项目至GitHub仓库
在开始讲解之前我们默认已经存在仓库和安装Git,没有下载的可以去https://git-scm.com/ Git官方网站下载或者是私聊博主. 下面我们说一说Git的使用,比如说如何生成密钥,连接远程仓 ...
随机推荐
- cocos2d-x_AnchorPoint锚点
锚点是定位和变换操作的一个重点.锚点我们能够看成用一根图钉将一张纸或者相片钉在墙上的那个点. 节点的位置是由我们设置的position和anchor point一起决定的. 值得一提的是,anchor ...
- php,二维数组的输出出现了问题,提示:Notice: Array to string conversion
<?php $arr=array(array("111","222","333"),array("444",&qu ...
- Reroute Unassigned Shards——遇到主shard 出现的解决方法就是重新路由
Red Cluster! 摘自:http://blog.kiyanpro.com/2016/03/06/elasticsearch/reroute-unassigned-shards/ There a ...
- B树索引与索引优化
B树索引与索引优化 MySQL的MyISAM.InnoDB引擎默认均使用B+树索引(查询时都显示为“BTREE”),本文讨论两个问题: 为什么MySQL等主流数据库选择B+树的索引结构? 如何基于索引 ...
- mount ntfs 失败解决办法
在双系统中,ntfs可能会应为windows的缓存而挂载失败.可用下面命令修复. Use ntfsfix in the terminal, even if you can't access Windo ...
- application和javaBean练习
编写一个jsp程序,实现将用户信息保存在application对象的用户注册 package com.sp.test; public class User { private String usena ...
- latex问题总结
1.使 IEEE 的 Latex 杂志(journal)模板(templet)图片标题(caption)居中 由于IEEETran-journal中的默认caption左对齐.加上\usepackag ...
- c#0218-命名空间
1 namespace 命名空间 可以解决类的重命名问题 可以看做是类的文件夹: 2 跨项目使用类 一个解决方案下有不同的项目,如果想在一个项目中引用另一个项目的类,解决方法是 1 添加引用 2 引用 ...
- Github上值得关注的前端项目-转自好友trigkit4
http://microjs.com/# 该网站的资源都托管到了github,microjs.com是一个可以让你选择微型的js类库的网站,该网站里的js库都是压缩后不大于5KB的,非常实用 http ...
- [NOIP2011提高组]Mayan游戏
题目:洛谷P1312.Vijos P1738.codevs1136. 题目大意:在一个7行5列的棋盘(左下角坐标0,0)上,有一些不同颜色的棋子. 规定某一时刻,连续三个横排或竖列的棋子颜色相同,则它 ...