Hi! Check out this very interesting discussion on npm http://groups.google.com/group/nodejs/browse_thread/thread/a5af0deb545ff233/b7dab86089a3319e?lnk=gst&q=npm#b7dab86089a3319e
On Wed, Feb 8, 2012 at 4:16 PM, Arnout Kazemier <i...@3rd-eden.com> wrote: > install it without the -g > > On Wednesday, February 8, 2012 at 7:36 AM, vishal raut wrote: > > Hello, > > I am very new to nodejs. I have installed the module "amqp" using the > following command : > sudo npm install amqp -g > But, when I m using the same module in my implementation its giving > some error. Unfortunately, there is no clue on net about it. following > is the error. > > node.js:201 > throw e; // process.nextTick error, or 'error' event on first > tick > ^ > Error: Cannot find module 'amqp' > at Function._resolveFilename (module.js:334:11) > at Function._load (module.js:279:25) > at Module.require (module.js:357:17) > at require (module.js:368:17) > at Object.<anonymous> (/home/vishal/workspace/mchat_xmpp_backend/ > src/nodejs/imports.js:3:15) > at Module._compile (module.js:432:26) > at Object..js (module.js:450:10) > at Module.load (module.js:351:31) > at Function._load (module.js:310:12) > at Module.require (module.js:357:17) > > Please help me......... > > Thank you in advance. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en