Upgrading from rails 5.2
to rails 6.0.1
, I get the following error when loading a page in development mode:
Sprockets::FileNotFound - couldn't find file 'leaders.source.coffee'
Checked in these paths:
app/assets/audios
app/assets/config
app/assets/images
...
My app/javascripts directory does not have any filed called leaders.source.coffee
or any file starting with leaders
. I have searched my code base and I could not find any reference to leaders
.
My manifest file is
#app/assets/config/manifest.js is
//= link_tree ../images
//= link_tree ../audios
//= link application.css
//= link application.js
//= link print.css
How do I fix this?