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 noticed this error output when I was using v0.4.2 with indentTemplate: false. This went away when I downgraded to 0.4.1 and the option worked as expected.
yarn dprint fmt [18:02]
yarn run v1.22.19
$ .....node_modules/.bin/dprint fmt
Critical error formatting ....AComponent.vue. Cannot continue. Message: Originally panicked in dprint-plugin-vue, then failed reinitialize. This may be a bug in the plugin, the dprint cli is out of date, or the plugin is out of date.
Original error: RuntimeError: unreachable
at __rust_start_panic (<module>[364]:0x207fe)
at rust_panic (<module>[360]:0x207b5)
at std::panicking::rust_panic_with_hook::h47a0e203360b6c10 (<module>[355]:0x204fd)
at std::panicking::begin_panic_handler::{{closure}}::h888144d5e9a03cec (<module>[348]:0x1fedd)
at std::sys_common::backtrace::__rust_end_short_backtrace::h81961607fd97e28e (<module>[347]:0x1fe2c)
at rust_begin_unwind (<module>[354]:0x203d6)
at core::panicking::panic_fmt::h4ca53049f45e3264 (<module>[440]:0x26a26)
at core::str::slice_error_fail::hc8f76ed1263d932a (<module>[458]:0x27a51)
at dprint_plugin_vue::format::format::h779901301d6afa9b (<module>[169]:0xef4f)
at format (<module>[136]:0xb3dd)
Reinitialize error: RuntimeError: unreachable
at __rust_start_panic (<module>[364]:0x207fe)
at rust_panic (<module>[360]:0x207b5)
at std::panicking::rust_panic_with_hook::h47a0e203360b6c10 (<module>[355]:0x204fd)
at std::panicking::begin_panic_handler::{{closure}}::h888144d5e9a03cec (<module>[348]:0x1fedd)
at std::sys_common::backtrace::__rust_end_short_backtrace::h81961607fd97e28e (<module>[347]:0x1fe2c)
at rust_begin_unwind (<module>[354]:0x203d6)
at core::panicking::panic_fmt::h4ca53049f45e3264 (<module>[440]:0x26a26)
at core::str::slice_error_fail::hc8f76ed1263d932a (<module>[458]:0x27a51)
at dprint_plugin_vue::format::format::h779901301d6afa9b (<module>[169]:0xef4f)
at format (<module>[136]:0xb3dd)
Had 1 error(s) formatting.
error Command failed with exit code 1.
I can help with a reproducer if need-be. Thanks a bunch for this plugin!
The text was updated successfully, but these errors were encountered:
Hello,
I noticed this error output when I was using v0.4.2 with
indentTemplate: false
. This went away when I downgraded to 0.4.1 and the option worked as expected.I can help with a reproducer if need-be. Thanks a bunch for this plugin!
The text was updated successfully, but these errors were encountered: