Tag: hiredis

Nodejs使用npm安装hiredis。 获取错误

嗨即时尝试安装hiredis。 但即时通讯得到这个错误: 需要提醒。 编辑:安装python后得到不同的错误:

使用OpsWorks在AWS Linux上安装hiredis

我正在使用OpsWorks来部署我的自定义node.js应用程序。 我不是一个厨师专家,并认为这将是一个简单的过程,但我不断碰壁。 这个最近的问题真的让我反感。 基本上我使用一个名为“Kue”的包,这个包依赖于一个名为Hiredis的Node包。 Hiredis是在C级实现的(据我所知),并使用一些Python级别的编译工具。 看起来,OpsWorks使用的默认Chef脚本在安装Kue和Hiredis的时候依然失败。 以下是实例尝试部署应用程序时的日志: http : //codepad.org/RXxKXqBq 在谷歌search一些人指出了它与AWS的Python版本正在使用的问题。 请注意,我使用默认的Node.js应用程序厨师食谱可以在这里find: https : //github.com/aws/opsworks-cookbooks/tree/release-chef-11.10/opsworks_nodejs

npm安装redis问题

运行npm时出现问题安装redis。 有错误: npm WARN install Refusing to install redis as a dependency of itself 当我试图安装hiredis它似乎安装得很好,但是,当我试图运行任何的例子,他们将失败,所需的文件“redis”没有find。 我终于通过安装redis全局或: npm install -g redis 有没有人看过这个?

nodejs:安装hiredis包时出错

试图在nodejs中安装hiredis,我得到这个错误。 我在Google上找不到任何有用的东西。 任何人有这个问题? 我正在使用最新版本的nodejs。 C:\Users\berthsa\new>npm install hiredis –save npm http GET https://registry.npmjs.org/redis npm http GET https://registry.npmjs.org/hiredis npm http 304 https://registry.npmjs.org/redis npm http 304 https://registry.npmjs.org/hiredis npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings > hiredis@0.1.16 install C:\Users\berthsa\new\node_modules\hiredis > node-gyp rebuild C:\Users\berthsa\new\node_modules\hiredis>node "C:\Users\berthsa\AppData\Roaming \npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp .js" rebuild Building the projects in this solution one at a time. To […]

Redis – ECONNREFUSED。 即使服务器正在运行

我已经读了关于ECONNREFUSED错误的stackoverflow的所有其他线程,但仍然没有工作。 目前我正在使用Ubuntu 12.04.1 LTS 对于testing,我有这个非常简单的代码: var redis = require("redis"), client = redis.createClient(6379,"127.0.0.1"); redis.debug_mode = true; client.on("connect", function () { client.set("foo_rand000000000000", "some fantastic value"); }); 但是每当我开始时,我所得到的都是ECONNREFUSED错误: root@oncn05:~/ba# node test.js hiredis parser not installed. Redis connection to 127.0.0.1:6379 failed – connect ECONNREFUSED node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Redis […]