-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActionView::Template::Error: couldn't find file 'jquery-ui/jquery-ui.min.js' with type 'application/javascript' #1688
Comments
The line is
|
It's odd, the trace also notes line 5 of index.html:
I notice it's on a series of lines with absolute references, but it doesn't specify an absolute path. So just in case i updated it to match the others. I could imagine somehow it's initiating Sprockets by searching for the reference... long shot but who knows: |
So one thing is that this file - jquery-ui.min.js was added to get I think possibly we need to change how we include it, as there are lots of pages saying it's changed. We can also just try removing that line, because it relates to "being able to drag images from the sidebar into the map" which isn't a critical feature and currently doesn't work! |
Reopening, it failed with similar error on the "The engine "node" is incompatible with this module." error that is, but... i dunno i never see it get to step [4/5] so maybe it is an issue after all? mapknitter/dockerfiles/production Line 24 in 513106b
I looked at https://github.com/nodesource/distributions and found the v16 LTS and trying that on unstable |
Strangely pushing to unstable before upgrading to node 16 got Yarn to step 5/5 already https://jenkins.laboratoriopublico.org/job/Mapknitter-Unstable/331/console but I'm also watching it after the v16 update here: https://jenkins.laboratoriopublico.org/job/Mapknitter-Unstable/332/console |
OK we are no longer seeing the yarn errors in any case. not sure if exif.js error will still happen on production though... |
Sentry issue: MAPKNITTER-7C |
Sentry issue: MAPKNITTER-7D |
OK, for what it's worth, maybe I found an issue - the paths being checked don't include
Strangely we did add Line 23 in 513106b
|
However, we are configured to load assets from mapknitter/config/initializers/assets.rb Lines 11 to 12 in 513106b
|
Let's see. If the upgrade to node 16 above causes yarn to complete properly, maybe we are just OK here. If not, then we should try changing the |
I wonder if the inconsistency w MapKnitter stable/unstable was that we had partial collections of files in some other directory on the Sprockets search path... left over or something... |
Question for later: why isn't yarn error triggering a build failure in CI? |
Noting we broke map form location autocompletion as |
Sentry Issue: MAPKNITTER-7A
The text was updated successfully, but these errors were encountered: