mnutt / hummingbird

Real time web analytics using node.js and web sockets
http://mnutt.github.com/hummingbird
MIT License
2.92k stars 15 forks source link

Cannot find module 'ext' #11

Closed switzer closed 13 years ago

switzer commented 14 years ago

Hi -

I am having difficulty getting hummingbird to run. I can start server.js just fine. When I start monitor.js, I receive the following error:

jss:hummingbird scott$ node monitor.js

node.js:50 throw e; ^ Error: Cannot find module 'ext' at loadModule (node.js:234:13) at require (node.js:271:14) at Object. (/Users/scott/code/hummingbird/deps/express/lib/express.js:7:1) at Module._compile (node.js:324:23) at Object..js (node.js:332:12) at Module.load (node.js:254:25) at loadModule (node.js:242:12) at require (node.js:271:14) at Object. (/Users/scott/code/hummingbird/monitor.js:11:1) at Module._compile (node.js:324:23)

I checked the version of express, and it was 0.10.0, which was very old. I tried to install express separately with the latest version 1.0.0rc3, but it is still not working.

I am happy to help update the instructions if someone can help me get a version of hummingbird that works.

Many thanks...

switzer commented 14 years ago

I should note that I tried to manually update the express module, and it then gave me an error: Cannot find module 'connect'

pagameba commented 14 years ago

I have the same issue (cannot find module 'connect') after cloning express (which I did to get past issue #10)

switzer commented 14 years ago

I have made some progress - still not totally working on my mac (Snow Leopard), but getting closer.

  1. Install this fork of Hummingbird instead. It is more up to date:

http://github.com/glongman/hummingbird

  1. This fork uses an older version of the node-mongodb-native driver, so you need to install the latest version from git.

I still cannot see any data coming into MongoDB yet, but it is getting closer. Please reach out if you have any questions or additional information. Once I can get this sucker installed, I hope to either work with Geoff Longman (who maintains the fork) to update the documentation and code, or maintain a fork myself.

aezell commented 13 years ago

@switzer I was able to use glongman's clone and get things up and running following the instructions on his page. I did need to remove the node-websocket-server package and clone it from the original to get the newer version. Seems to be working now.

mnutt commented 13 years ago

Express is no longer a dependency, so closing.