yeoman / generator-backbone

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

Script tags not being added to `app/index.html` when creating model/collection/views #364

Closed rjcorwin closed 9 years ago

rjcorwin commented 9 years ago

I pulled the most recent version of generator-backbone, ran npm link, created a new project, and then ran the following.

 /.../Desktop/barn ♘ ls app/
404.html        bower_components    favicon.ico     index.html      robots.txt      scripts         styles

 /.../Desktop/barn ♘ yo backbone:model Bar

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to models/Bar.js not added.

   create app/scripts/models/Bar.js
   create test/models/Bar.spec.js

 /.../Desktop/barn ♘ yo backbone:collection Barns

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to collections/Barns.js not added.

   create app/scripts/collections/Barns.js
   create test/collections/Barns.spec.js
 /.../Desktop/barn ♘ yo backbone:view Barns

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to views/Barns.js not added.

   create app/scripts/templates/Barns.ejs
   create app/scripts/views/Barns.js
   create test/views/Barns.spec.js
k-funk commented 9 years ago

I've got the same issue. Working from master @9b2dc5dc3e0d4f4f88bf875123233f7a81d58c87 The path that it claims it cannot find is a file that I can cat.