简体   繁体   English

Travis给我Redis与本地主机的连接:6379失败-连接ECONNREFUSED

[英]Travis gives me Redis connection to localhost:6379 failed - connect ECONNREFUSED

I'm trying to test a node.js module using Travis, but all I get is "Redis connection to localhost:6379 failed - connect ECONNREFUSED". 我正在尝试使用Travis测试node.js 模块 ,但我得到的只是“与本地主机的Redis连接失败:6379-连接ECONNREFUSED”。

Can someone please tell me what am I doing wrong? 有人可以告诉我我在做什么错吗? The latest build is at: https://travis-ci.org/luiselizondo/config-persistence/builds/65187913 最新的版本位于: https : //travis-ci.org/luiselizondo/config-persistence/builds/65187913

Thanks 谢谢

I had a look at your problem and it seems the problem is due to the format of your .travis.yml file. 我查看了您的问题,看来该问题是由于您的.travis.yml文件的格式.travis.yml

I forked your project and removed the leading spaces in front of the language and node_js fields. 我分叉了您的项目,并删除了languagenode_js字段前面的空格。 I have created a pull request here that shows the changes I made. 我在这里创建了一个拉取请求,以显示我所做的更改。

You can see the result of my build here . 您可以在此处查看我的构建结果

Hope this helps! 希望这可以帮助!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Redis 连接到 127.0.0.1:6379 失败 - 连接 ECONNREFUSED - Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED Redis与127.0.0.1:6379的连接失败-连接ECONNREFUSED 127.0.0.1:6379 Node.js - Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 nodejs 错误:与 127.0.0.1:6379 的 Redis 连接失败 - 连接 ECONNREFUSED 127.0.0.1:6379 - Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 RailwayJS(node.js)的问题:Redis连接到localhost:6379失败 - 连接ECONNREFUSED - Problems with RailwayJS (node.js): Redis connection to localhost:6379 failed - connect ECONNREFUSED Redis错误:错误:Redis与127.0.0.1:6379的连接失败-连接ECONNREFUSED 127.0.0.1:6379 - Redis error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 错误:Redis 连接到 127.0.0.1:6379 失败 - 连接 ECONNREFUSED 127.0.0.1:6379 Heroku - Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 Heroku Redis 在 Windows 10 上使用 Node.JS 一直失败:错误:Redis 连接到 127.0.01.1:637279.D 失败 - 0.0.01.1:63727.0 连接失败。 - Redis keeps failing on Windows 10 with Node.JS : Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 Docker - Redis 连接 ECONNREFUSED 127.0.0.1:6379 - Docker - Redis connect ECONNREFUSED 127.0.0.1:6379 Docker Redis 错误:连接 ECONNREFUSED 127.0.0.1:6379 - Docker Redis Error: connect ECONNREFUSED 127.0.0.1:6379 错误:Redis与10.130.212.246:6379的连接失败-连接ETIMEDOUT - Error: Redis connection to 10.130.212.246:6379 failed - connect ETIMEDOUT
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM