Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing external modules #8

Open
arqam opened this issue Apr 16, 2014 · 1 comment
Open

Installing external modules #8

arqam opened this issue Apr 16, 2014 · 1 comment

Comments

@arqam
Copy link

arqam commented Apr 16, 2014

I am trying to install the http-proxy module from nodejitsu: https://github.com/nodejitsu/node-http-proxy but I get this error:

I am including by writing this in invoking_file.js:

var http = require('external/node_modules/http-proxy');

but I get this error:

Uncaught Error: Cannot find module 'external/node_modules/http-proxy' on node.js 44

This is my directory structure:

  • invoking_file.js
    • external
      • node.js
      • node_modules
        • http-proxy.js
        • http-proxy
@Audace
Copy link

Audace commented Jun 3, 2014

Same!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants