Skip to content

Problem with the package "amqp" #4

@vishalraut20

Description

@vishalraut20

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. (/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions