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
I have a page with a number of iframes loading PDF previews. When loading, some of them fail with:
RuntimeError: conflicting chdir during another chdir block (RuntimeError)
from vite_ruby (3.3.4) lib/vite_ruby/config.rb:84:in `chdir'
from vite_ruby (3.3.4) lib/vite_ruby/config.rb:84:in `within_root'
from vite_ruby (3.3.4) lib/vite_ruby/builder.rb:57:in `watched_files_digest'
from vite_ruby (3.3.4) lib/vite_ruby/builder.rb:32:in `last_build_metadata'
from vite_ruby (3.3.4) lib/vite_ruby/manifest.rb:217:in `missing_entry_error'
from vite_ruby (3.3.4) lib/vite_ruby/manifest.rb:79:in `lookup!'
from vite_ruby (3.3.4) lib/vite_ruby/manifest.rb:22:in `path_for'
from vite_rails (3.0.17) lib/vite_rails/tag_helpers.rb:26:in `vite_asset_path'
When loading them individually, they work. This seems like a thread safety issue, as chdir is not thread-safe.
bundle update vite_ruby
.Description 📖
I have a page with a number of iframes loading PDF previews. When loading, some of them fail with:
When loading them individually, they work. This seems like a thread safety issue, as chdir is not thread-safe.
Vite Ruby Info
The text was updated successfully, but these errors were encountered: