Ask A Question


You’re not receiving notifications from this thread.

Using Yarn w/Rails 5.1, Getting 404 Error for jquery-ui-dist Images

Garth Gaughan asked in Gems / Libraries

I am using Yarn with Rails 5.1
I have successfully pulled in the css and js for jquery-ui-dist

ui-icons are returning a 404 error in browser. All other functionality works as expected.

*= require_self
*= require jquery-ui-dist/jquery-ui


//= require_self
//= require jquery/dist/jquery
//= require jquery-ui-dist/jquery-ui
//= require jquery_ujs


 "jquery-ui-dist": "^1.12.1",
 "jquery-ujs": "^1.2.2",

from the console:

GET http://localhost:3000/assets/images/ui-icons_444444_256x240.png 404 (Not Found)
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,256+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.