alchaplinsky / polymer-rails

Polymer and web components for Ruby on Rails
MIT License
286 stars 80 forks source link

File existence error on application.html render #100

Open khrome-cape opened 6 years ago

khrome-cape commented 6 years ago

When rendering application.html, I get:

ActionView::Template::Error (couldn't find file '' with type 'text/html'

Removing all webcomponents from assets/components/application.html.erb does not affect the error, but removing = html_import_tag 'application' from my views/layouts/application.html.haml "fixes" the issue (but, of course, leaves all webcomponents excluded).

The list of components I'm importing (though I don't believe this is relevant) is:

//= require polymer/polymer
//= require app-layout/app-layout
//= require paper-material/paper-material
//= require paper-icon-button/paper-icon-button
//= require iron-icons/iron-icons
//= require iron-pages/iron-pages
//= require paper-item/paper-icon-item
//= require paper-listbox/paper-listbox
//= require paper-item/paper-item
//= require paper-dropdown-menu/paper-dropdown-menu

It's also worth noting that if any of these modules aren't present I get expected compilation errors, I only get this error when everything is accessible or when references are removed, leading me to believe most of the process is working correctly.

Any idea what's going on?