Closed aseroff closed 6 months ago
If you are facing this problem, you can copy this helper into your own project, and remove lines 6-7 to not have to pin importmaps to v1 or wait for a spina release.
I was stumped by this on my very first test run of SpinaCMS - eventually found this issue and updated vendor/bundle/ruby/3.1.0/gems/spina-2.17.0/app/helpers/spina/spina_helper.rb
with the new version from #1359, which seems to have fixed the problem. Cheers!
The error is
ActionView::Template::Error: undefined local variable or method "javascript_importmap_shim_nonce_configuration_tag"
, which appears to be because it was removed from importmaps v2 release.