Persistent “Cannot find module” errors when installing juggernaut in OS X and Rails 3
问题 I started with a blank install of Lion, installed Xcode 4.1, then followed the instructions at http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac to install rvm, sqlite3, rails and then installed node v0.2.5 and redis v2.0.4. I then tried to install juggernaut: git clone git://github.com/maccman/juggernaut.git --recursive cd juggernaut sudo node server.js After sudo node server.js I get the following error. I have somehow managed to get the same error on 2 separate computers,