jquery-boilerplate / generator-jquery-boilerplate

Yeoman Generator for jQuery Boilerplate
https://npmjs.org/generator-jquery-boilerplate
151 stars 31 forks source link

Error when running 'yo jquery-boilerplate' #13

Closed visualcookie closed 9 years ago

visualcookie commented 9 years ago

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)```
kuldipem commented 9 years ago

I am also getting this error.

surajair commented 9 years ago

me too

edpittol commented 9 years ago

+1

visualcookie commented 9 years ago

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

seansean11 commented 9 years ago

+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.

heldr commented 9 years ago

Fixed and updated on npm registry :tea:

See: https://github.com/jquery-boilerplate/generator-jquery-boilerplate/releases/tag/0.3.0