Open cxu0421 opened 8 months ago
As far as I know, Spotlight does not support Rails 7.1.
Using Rails 7.1 is not the cause of this problem. I opened an issue #2995 not long ago, and we are using 7.0.x
The generated manifest.js is broken. We got past this error by hand-editing the file to remove the line for application.js and add the missing newline. I don't know whether some of the faults we are seeing in our application might be because of this file being incorrrect though. The fact the line for blacklight_gallery was wrong makes me wonder whether it's connected with the lack of results page type choices #2993 in our application.
A new version of blacklight-gallery was released that fixes the missing newline issue.
we followed the depolyment on aws ec2 instance running ruby 3.2.2 and Rails 7.1.3.2, the app does not start correctly, we are getting error similar to https://github.com/projectblacklight/blacklight/issues/3031, after following their solution to adjust the manifest.js, we now get the following error on start up,
ActionView::Template::Error (Multiple files with the same output path cannot be linked ("application.js") In "/opt/collections/spotlight/app/assets/config/manifest.js" these files were linked: