jquery-boilerplate/generator-jquery-boilerplate

Error when running 'yo jquery-boilerplate'

visualcookie opened this issue · 6 comments

Hi,

I get an error when running the generator. Below are some information about it.

Command run: yo jquery-boilerplate

Log:

  var files   = this.expandFiles('**/*', { cwd: this.sourceRoot(), dot: true }
                                                     ^
TypeError: undefined is not a function
    at new module.exports (/usr/local/lib/node_modules/generator-jquery-boilerplate/app/index.js:7:54)
    at Environment.instantiate (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:282:10)
    at Environment.create (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:259:15)
    at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:318:24)
    at /usr/local/lib/node_modules/yo/lib/cli.js:86:9
    at Environment.resolver.lookup (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/resolver.js:50:12)
    at init (/usr/local/lib/node_modules/yo/lib/cli.js:61:7)
    at pre (/usr/local/lib/node_modules/yo/lib/cli.js:48:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:150:1)
    at Module._compile (module.js:460:26)```

I am also getting this error.

me too

I really hope that this repository isn't dead at all.

+1 I'm not sure if this is the culprit, but according to npm the package is at version 0.1.2 which was released August 8. 2013 (npm page). And, according to the repo they just released version 0.2.0 last month. Looks like we are not installing the newest version.