Closed ajbogh closed 7 years ago
While trying to find the cause, this error happens by adding gem 'angular-rails-templates'
to the Gemfile. After a bundle install I run rake assets:precompile --trace
and get the error above. I went step-by-step from a working version and installed angular-rails-templates before attempting to change any code.
A message for people traveling to the future: if one of your angular Javascript files has some silly syntax error, it will fail to build, and then sprockets will raise this error because the file is missing.
I'm closing this since @pjungwir offered an explanation, and also since I'm, gladly, not longer working with Rails.
I'm getting the following error on a rather old version of the gem in an old version of rails (unable to upgrade at the moment). I was hoping someone knew how to fix this.
Templates are under
/app/assets/javascripts/templates/subfolder/file.html.slim
.application.js
angular-rails-templates 0.2.0 Rails 3.2.22.2 sprockets 2.2.3
rake assets:precompile --trace