Arclight error: "Importmap skipped missing path.."

85 views
Skip to first unread message

Scott Kushner

unread,
Aug 8, 2023, 11:41:21 PM8/8/23
to arclight-community

Hello all:

 For some reason, not all of my Blacklight .js files are importing into ArcLight...

I think that this is because they were installed to a different directory...

(They were installed to the ....asdf/ directory instead of /vendor directory, for some reason..)

Has anybody seen this issue?
I've been reading about how to use import maps, but I haven't been able to fix this issue.

Can anyone please give me a hint how to include the path and files so that they are loading into the arc-light app?

Thank you,

As always, any help is greatly appreciated.

Sincerely,

Scott Kushner
Saint Peter's University.


You can stop Phusion Passenger(R) Standalone by pressing Ctrl-C.
Problems? Check https://www.phusionpassenger.com/library/admin/standalone/troubleshooting/
===============================================================================
[ N 2023-08-08 23:31:16.3808 26258/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
I, [2023-08-08T23:31:18.252768 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Started HEAD "/" for 127.0.0.1 at 2023-08-08 23:31:18 -0400
I, [2023-08-08T23:31:18.258615 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Processing by Arclight::RepositoriesController#index as HTML
I, [2023-08-08T23:31:18.348933 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263]   Rendered vendor/bundle/ruby/3.2.0/gems/arclight-1.0.1/app/views/arclight/repositories/index.html.erb within layouts/blacklight (Duration: 16.1ms | Allocations: 10308)
W, [2023-08-08T23:31:18.357478 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/bookmark_toggle.js
W, [2023-08-08T23:31:18.357707 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/button_focus.js
W, [2023-08-08T23:31:18.357915 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/checkbox_submit.js
W, [2023-08-08T23:31:18.358123 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/core.js
W, [2023-08-08T23:31:18.358319 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/index.js
W, [2023-08-08T23:31:18.358539 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/modal.js
W, [2023-08-08T23:31:18.358779 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/modalForm.js
W, [2023-08-08T23:31:18.359026 #26332]  WARN -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Importmap skipped missing path: blacklight/search_context.js
I, [2023-08-08T23:31:18.446612 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263]   Rendered vendor/bundle/ruby/3.2.0/gems/blacklight-8.0.1/app/views/layouts/blacklight/base.html.erb (Duration: 96.1ms | Allocations: 30298)
I, [2023-08-08T23:31:18.446858 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263]   Rendered layout vendor/bundle/ruby/3.2.0/gems/blacklight-8.0.1/app/views/layouts/blacklight.html.erb (Duration: 114.1ms | Allocations: 41183)
I, [2023-08-08T23:31:18.447347 #26332]  INFO -- : [7b4a2f90-1b61-4ec9-bffb-a0757cd20263] Completed 200 OK in 188ms (Views: 117.6ms | ActiveRecord: 14.9ms | Allocations:

Scott Kushner

unread,
Aug 17, 2023, 11:32:03 AM8/17/23
to arclight-community
Update: I got it somehow working with config.assets.compile = true # default: false. But this should only be a temporary solution, because as stated in guides.rubyonrails.org/asset_pipeline.html "This mode uses more memory, performs more poorly than the default, and is not recommended.". I hate it, that this somehow happens to/with RoR all the time: discuss.rubyonrails.org/t/Jens

(Also, even though the Blacklight js is loading, it seems to be missing some functionality. Although I’m not sure because I don’t know how Arclight should function completely. Can anyone point to a tutorial video that describes the functionality of Arclight 1.0? (Also, the menu button doesn’t work when in mobile view) Thanks. (https://arclight.saintpeters.edu)

Dinah Handel

unread,
Aug 17, 2023, 1:05:42 PM8/17/23
to Scott Kushner, arclight-community
Hi Scott, 

There isn't a video tutorial of the most recent release of ArcLight v1, but Stanford Libraries is running v1 for our demo environment and I'd be happy to walk you through it on a video call. You could also check out our ArcLight website, which includes a list of all active implementations to date. 

all best, 
Dinah

From: arclight-...@googlegroups.com <arclight-...@googlegroups.com> on behalf of Scott Kushner <skus...@saintpeters.edu>
Sent: Thursday, August 17, 2023 8:32 AM
To: arclight-community <arclight-...@googlegroups.com>
Subject: [arclight-community] Re: Arclight error: "Importmap skipped missing path.."
 
--
You received this message because you are subscribed to the Google Groups "arclight-community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arclight-commun...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arclight-community/4230960c-d66c-4733-8ea5-095a41c0ef32n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages