Open rzane opened 6 months ago
In my case, I don't actually want to precompile Turbo since I'm sourcing it from NPM. For me, this is the best solution: https://github.com/hotwired/turbo-rails/blob/v2.0.3/lib/turbo/engine.rb#L22-L27
@rzane Did you ever figure out the issue? I'm pretty stuck on this and not sure what to do. I need my app to work on older iOS versions.
I think from the link the fix is to add
if config.assets.compile config.after_initialize do config.assets.precompile -= Turbo::Engine::PRECOMPILE_ASSETS end end
Which seems to have fixed the problem on my side
It looks like this issue has come up before, but with a different version of Turbo. I'm using turbo-rails v2.0.3.
I followed the error message and added the following configuration.
But, unfortunately, I get the same error.