I have a question because I didn't understand the following error when creating the app in Rails.
When I checked, I ran railsasset:compile
and updated the sprocket, but it was the same.
I checked if there were any other characters, but I couldn't find them, so I was having a hard time for a few hours.
Personally, I am also concerned about template, but is there anyone who knows the cause?
error:
Sprockets::Rails::Helper::AssetNotFound in Device::Registrations #new
Showing/Users/hiratashinichi/recipe-site/app/views/layouts/application.html.erb where line #10 raised:
The asset "application.css" is not present in the asset pipeline.
Extracted source (around line #10):
8
9
10
11
12
13
<%=stylesheet_pack_tag 'application'%>
<%=stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'%>%=javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'%>
</head>
I think the following article will be helpful (answer No. 9). Could the file name application.css be conflicting?That's what it is.
I'm sorry if you're mistaken.For your information.
© 2024 OneMinuteCode. All rights reserved.