paulohp / slush-hapi

MIT License
3 stars 1 forks source link

Hapi generator fails on Ubuntu #1

Open kokujin opened 10 years ago

kokujin commented 10 years ago

I could install the generator without problems:

sudo npm install slush-hapi -g

On trying to use the generator, I got this error on the CLI

/usr/lib/node_modules/slush-hapi/slushfile.js:20
    var username = string.toLowerCase();
                          ^
TypeError: Cannot call method 'toLowerCase' of undefined
    at format (/usr/lib/node_modules/slush-hapi/slushfile.js:20:27)
    at /usr/lib/node_modules/slush-hapi/slushfile.js:35:19
    at Object.<anonymous> (/usr/lib/node_modules/slush-hapi/slushfile.js:38:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Liftoff.handleArguments (/usr/lib/node_modules/slush/bin/slush.js:90:3)
paulohp commented 10 years ago

Thanks for your feedback. I will fix this now!