You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue where the builds folder is not being recognized in the asset load path, resulting in an error stating that the asset 'home.css' cannot be found. This issue is causing a failure in rendering the home page due to the missing stylesheet.
Error:
ActionView::Template::Error (The asset 'home.css' was not found in the load path.):
10: <%= csrf_meta_tags %>
11: <%= csp_meta_tag %>
12:
13: <%= stylesheet_link_tag "home" %>
14: <%= javascript_include_tag "home_main", type: "module" %>
15: </head>
16:
app/views/layouts/home.html.erb:13
Error during failsafe response: The asset 'home.css' was not found in the load path.
/app/vendor/bundle/ruby/3.3.0/gems/propshaft-0.8.0/lib/propshaft/helper.rb:4:in `compute_asset_path'
We should ensure that css/jsbundling-rails does this, if they don't already. Please do take a look and open an issue on those if that's not the case. Thanks!
I encountered an issue where the builds folder is not being recognized in the asset load path, resulting in an error stating that the asset 'home.css' cannot be found. This issue is causing a failure in rendering the home page due to the missing stylesheet.
Error:
Build:
How can I fix it in production?
The text was updated successfully, but these errors were encountered: