Error when running on Windows
jsalonen opened this issue · comments
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
This is the same as issue #4. The attached pull request should fix it.
Thanks @travishorn . It does fix the problem. I wish this pull request would be integrated soon!
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.