perak / kitchen-examples

Meteor Kitchen examples
164 stars 115 forks source link

Missing template "layout_content_text.html"... #3

Closed sfrobins closed 9 years ago

sfrobins commented 9 years ago

Generation fails with error File not found "/Users/sfrobins/.meteor-kitchen/templates/bootstrap/layout_content_text.html".

To reproduce: 1) generate a Minimal App with User Account System. 2) run the generated build from the command line.

I created a work around by copying the file "layout_content_simple.html" to a file "layout_content_text.html". This probably did not yield a valid result for the generation, but it allowed me to bypass the error.

perak commented 9 years ago

Hi @sfrobins,

Yes, that's bug: "layout" property in zone object is automatically set to "text" (metadata has invalid entry).

It's fixed now (for new apps). For old apps, workaround is to switch to "View source (JSON)" and remove string "text" from zone object's "layout" property.

Thank you for reporting bug :)

sfrobins commented 9 years ago

Hi @perak,

My pleasure... Thanks for a great code generation tool...

Cheers :)