yocontra / smog

HTML5/Node/WebSocket MongoDB panel
MIT License
443 stars 42 forks source link

Error when running on Windows #6

Closed jsalonen closed 12 years ago

jsalonen commented 12 years ago

Trying to install and run smog on Windows 7 (with PowerShell). As a result I get the following error:

C:\work> smog
connect.staticCache() is deprecated and will be removed in 3.0
use varnish or similar reverse proxy caches.

C:\Users\User\AppData\Roaming\npm\node_modules\smog\start.coffee:20
  vein = new Vein(server);
         ^
TypeError: object is not a function
    at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\smog\start.coffee:20:10)
    at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\smog\start.coffee:45:4)
    at Module._compile (module.js:449:26)
    ....

Any ideas? Before this I only ran:

npm install -g smog
travishorn commented 12 years ago

This is the same as issue #4. The attached pull request should fix it.

jsalonen commented 12 years ago

Thanks @travishorn . It does fix the problem. I wish this pull request would be integrated soon!

tracker1 commented 12 years ago

As a workaround, for now.. edit C:\Users\YourUser\AppData\Roaming\npm\node_modules\smog\package.json and set the vein dependency to 0.3.4

Then run npm install in the smog directory.

yocontra commented 12 years ago

Same as #4 - closing