You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This crash occurs when the engine loads, so on boot or running the install task.
Gemfile:
gem'rails','~> 6.1.4','>= 6.1.4.1'# ...# the following are updated to the latest versions as of this writing:gem'importmap-rails'gem'hotwire-rails'gem'requestjs-rails'
./bin/rails requestjs:install --trace
** Invoke requestjs:install (first_time)
** Execute requestjs:install
** Invoke requestjs:install:asset_pipeline (first_time)
** Execute requestjs:install:asset_pipeline
rails aborted!
NoMethodError: undefined method `asset' for #<Array:0x00007f78c7582900>
/Users/william/programming/coffee-log-rails/config/environment.rb:5:in `<main>'
/Users/william/programming/coffee-log-rails/bin/rails:5:in `<top (required)>'
/Users/william/programming/coffee-log-rails/bin/spring:10:in `require'
/Users/william/programming/coffee-log-rails/bin/spring:10:in `block in <top (required)>'
/Users/william/programming/coffee-log-rails/bin/spring:7:in `tap'
/Users/william/programming/coffee-log-rails/bin/spring:7:in `<top (required)>'
Tasks: TOP => app:template => environment
(See full trace by running task with --trace)
The actual crash appears to be in lib/requestjs/engine.rb, line 12::
initializer"requestjs.importmap"doifRails.application.config.respond_to?(:importmap)Rails.application.config.importmap.paths.tapdo |paths|
paths.asset"@rails/request.js",path: "rails-requestjs"# line 12endendend
The text was updated successfully, but these errors were encountered:
@wmakley If you point in your gemfile to the github repo it still happen? I believe the changes here 74ce4f4 will fix your problem they just haven't been released yet
This crash occurs when the engine loads, so on boot or running the install task.
Gemfile:
The actual crash appears to be in lib/requestjs/engine.rb, line 12::
The text was updated successfully, but these errors were encountered: