Question

Rails App with webpacker Assets not found on droplet

So I deployed my RoR app on a droplet, which works find locally, the location of my application.js and application.scss is the following “app/javascript/packs/” Both are located here. But on my droplet, css and js is not working with the following error in the console of dev tools:

“Failed to load resource: the server responded with a status of 404 ()” “Failed to load resource: the server responded with a status of 404 ()”

“GET https://my_app/packs/css/application-988c2e01.css net::ERR_ABORTED 404” “GET https://my_app/packs/js/application-b5d6631ec473acfb5df1.js net::ERR_ABORTED 404”

Any idea on why is this happening and should I do to solve this.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer