iceddev / node-chromify

Entry point to use node in chrome
http://blog.iceddev.com/2012/11/05/node-js-in-chrome/
Apache License 2.0
170 stars 23 forks source link

Installing external modules #8

Open arqam opened 10 years ago

arqam commented 10 years ago

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:

Audace commented 10 years ago

Same!