Error ActionView::Template::Error (Asset `application.js` was not declared to be precompiled in production.

Hello! Can someone help me with this?
This error keeps appearing once in a while and makes my page have a 500 error. I don’t understand why, this is my manifest.js:
//= link_tree ../images //= link_directory ../stylesheets .css //= link_tree ../../javascript .js //= link_tree ../../../vendor/javascript .js //= link application.js //= link controllers/application.js .

Can anyone help me with this? And help me understand why sometimes it works and sometimes it doesn’t? This only happens in production when I see the logs of fly

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.