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 [email protected] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to