yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

yo backbone --template-framework=handlebars not work #379

Closed sun-ks closed 8 years ago

sun-ks commented 8 years ago

Hello people. I need generaror-bacbone which templates handlebars. If install yo backbone --template-framework=handlebars

Return error : $ yo backbone --template-framework=handlebars undefined Out of the box I include HTML5 Boilerplate, jQuery and Backbone.js. ? What more would you like? (Press to select) ? What more would you like? Twitter Bootstrap for Sass events.js:141 throw er; // Unhandled 'error' event ^ SyntaxError: Unexpected string at Object.parse (native) at EditionInterface.module.exports as readJSON at Base.determineAppname (C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-mocha\node_modules\yeoman-generator\lib\base.js:740:25) at Base (C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-mocha\node_modules\yeoman-generator\lib\base.js:145:23) at new module.exports.yeoman.generators.Base.extend.constructor (C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-mocha\generators\app\index.js:6:28) at Environment.instantiate (C:\Users\hghg\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:328:10) at Environment.create (C:\Users\hghg\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:305:15) at composeWith (C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-backbone\node_modules\yeoman-generator\lib\base.js:623:26) at yeoman.generators.Base.extend.writing.composeTest (C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-backbone\generators\app\index.js:364:14) at C:\Users\hghg\AppData\Roaming\npm\node_modules\generator-backbone\node_modules\yeoman-generator\lib\base.js:430:16

Scrin : http://screencast.com/t/lpS9HTeWTZKi

If install - yo backbone AppName Installation ends successfully.