lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.21k stars 85 forks source link

Unable to run ws, argv.misc.config undefined? #17

Closed roowilliams closed 9 years ago

roowilliams commented 9 years ago

Running on Ubuntu 15.04. Any ideas?

roo@roo-laptop:~/Development/react/one$ ws
/usr/local/lib/node_modules/local-web-server/bin/ws.js:70
if (argv.misc.config){
             ^
TypeError: Cannot read property 'config' of undefined
    at Object.<anonymous> (/usr/local/lib/node_modules/local-web-server/bin/ws.js:70:14)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
75lb commented 9 years ago

damn, sorry about that.. was caused by a dodgy dependency.. please update (to version 0.5.21) and try again..

roowilliams commented 9 years ago

Thanks! Your update fixed it :) On 9 Aug 2015 7:59 pm, "Lloyd Brookes" notifications@github.com wrote:

damn, sorry about that.. was caused by a dodgy dependency.. please update (to version 0.5.21) and try again..

— Reply to this email directly or view it on GitHub https://github.com/75lb/local-web-server/issues/17#issuecomment-129226236 .