chrisenytc / slush-generator

A slush generator for create slush generators
https://www.npmjs.org/package/slush-generator
MIT License
30 stars 11 forks source link

error : Cannot read property 'toLowerCase' of undefined #8

Closed dydycloud closed 10 years ago

dydycloud commented 10 years ago

every time i launch slush generator it's resulting in this message:

mnk@mnk-B85M-HD3:~/Dev/tools$ slush generator /home/mnk/.nvm/v0.11.13/lib/node_modules/slush-generator/slushfile.js:20 var username = string.toLowerCase(); ^ TypeError: Cannot read property 'toLowerCase' of undefined at format (/home/mnk/.nvm/v0.11.13/lib/node_modules/slush-generator/slushfile.js:20:26) at /home/mnk/.nvm/v0.11.13/lib/node_modules/slush-generator/slushfile.js:35:19 at Object. (/home/mnk/.nvm/v0.11.13/lib/node_modules/slush-generator/slushfile.js:38:3) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:349:32) at Function.Module._load (module.js:305:12) at Module.require (module.js:357:17) at require (module.js:373:17) at Liftoff.handleArguments (/home/mnk/.nvm/v0.11.13/lib/node_modules/slush/bin/slush.js:90:3)

chrisenytc commented 10 years ago

Fixed #7