frank06/riak-js — Issue #105: Riak-js module not found (Node 0.6.6)
Author: obihill
Created: 2011-12-27 22:02:57+00:00
State: open

I recently install Node 0.6.6 from source. It comes with npm.

Then I tried installing riak-js via npm. It gave me the following output when I installed [npm install riak-js@latest -g]:

npm http GET https://registry.npmjs.org/riak-js
npm http 304 https://registry.npmjs.org/riak-js
npm WARN riak-js@0.4.1 package.json: bugs['web'] should probably be bugs['url']
riak-js@0.4.1 /usr/local/lib/node_modules/riak-js

Also when I try to use it i.e. var db = require('riak-js').getClient({host: "localhost", port: "8098"});
I gives me the error "Cannot find module 'riak-js'"

How do I fix this?

Thanks.