getting "Sprockets::FileNotFound in Home#dashboard" error suddenly on localhost
Suddenly I dont know what happened but I am unable to load any page on localhost because I am getting the above error.I have attached a screeshot of the error. Thank you so much!

Update
See below for yarn install and yarn update to resolve this
@shubhscoder its the bootstrap file it specifies I haven't figured out how to fix it though. For me I can run my localhost but all my pushes to unstable fail
Copying @cesswairimu's message from Gitter channel :
After pulling master yesterday I have been getting this error Sprockets::FileNotFound in uncommenting jquery in app/assets/javascripts/application.js seems to solve it. Is there anyone else experiencing this?
it worked for me locally (localhost) when I ran yarn install and yarn upgrade but I don't really understand why it would work locally but not with a push to unstable
I ran the same commands some days back for resolving this issue. We can see unstable's build log to find if the yarn install is running or not?
https://jenkins.laboratoriopublico.org/job/Plots-Unstable/497/console it says it runs but is using cache?
That's the issue!
I cleared cache a bunch of times is there a way to set it so that jenkins stops using cache
I found this - https://stackoverflow.com/questions/35594987/how-to-force-docker-for-a-clean-build-of-an-image and let's see if it work or not
@cesswairimu and @shubhscoder you can resolve this issue locally by running commands as mentioned by sasha -https://github.com/publiclab/plots2/issues/4849#issuecomment-464647875 .
@Souravirus @icarito any hint about this issue?
Thanks!
Thank you so much @gauravano !
- yarn install
- yarn upgrade worked on the localhost.
@sashadev-sky unstable is back to normal.
I just force pushed the master branch on unstable and it's back to normal. You tried the force push, Sasha?
Here's the passed build log - https://jenkins.laboratoriopublico.org/job/Plots-Unstable/499/console
this build also shows the use of cache for some commands but I guess cache wasn't a problem as yarn install and yarn upgrade ran normally
the link I posted here resulted in this build - https://jenkins.laboratoriopublico.org/job/Plots-Unstable/500/console
@jywarren @icarito do you know why my build - https://jenkins.laboratoriopublico.org/job/Plots-Unstable/499/console passed but all the builds from https://jenkins.laboratoriopublico.org/job/Plots-Unstable/487/ to https://jenkins.laboratoriopublico.org/job/Plots-Unstable/498 started by @sashadev-sky failed :confused: ?
@gauravano it just started working for you by using --force? It could just be my computer setup
@gauravano is bower still required for proper installation at this point?
@gauravano nevermind mine worked!
@gauravano it just started working for you by using --force? It could just be my computer setup
I always force push on unstable. I doubt that computer setup has anything to do in it. You can check the changes of your push and see if that's incorrect. I would advise you to use force push too on unstable as I can see that you have to struggle a lot with unstable in recent hours.
We use yarn with plots2, right?
Did it work? I guess force push was needed because I have changed the bootstrap3-typeahead to typeahead.js for Bootstrap 4. That's why it might not be working.
yes @Souravirus, it worked out after force-push. Thanks for checking in :)
@gauravano @Souravirus yes that was a struggle! I just got a new laptop so it could have been computer related for me, but I had been force pushing the whole time so that was not the solution for me.
What led to it working was re-installing my Homebrew configurations for Docker and building and a docker container. Are we supposed to be building containers before pushing to unstable?