nodejitsu/node-http-proxy — Issue #176: WebSockets Example Imports Broken, Unexplained
Author: Miserlou
Created: 2012-01-11 07:38:57+00:00
State: open

Hello, nodejitsu folks!

I'm writing a little deploy guide here: https://github.com/Miserlou/NodeDeploy

the only problem I'm having is with the requirements of the websockets example. The ('../../vendor/websocket') import didn't work, so I set it to the full path ('/var/www/myapp/node_modules/http-proxy/vendor/websocket'), which worked.

Unfortunately, that gave this error:

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #