Input
Cannot provide code unfortunately since its a very large internal vue app, I noticed that sometimes the command shows the below output, sometimes its runs, and sometimes it just fails without any output
In CI it appears to be working without any issues (ubuntu linux amd64)
Several of my colleagues with same local setup (macOS 26.1) have similar crashes that also do not happen deterministically
Config
Oxfmt output
Oxfmt version: 0.41.0
#
# Fatal error in , line 0
# Check failed: object_ != kGlobalHandleZapValue.
#
#
#
#FailureMessage Object: 0x17294d038
----- Native stack trace -----
1: 0x1027614b4 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/usr/local/bin/node]
2: 0x103d0aa24 V8_Fatal(char const*, ...) [/usr/local/bin/node]
3: 0x102a60a64 v8::internal::GlobalHandles::MakeWeak(unsigned long**) [/usr/local/bin/node]
4: 0x102687da0 napi_reference_unref [/usr/local/bin/node]
5: 0x11df85cf4 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
6: 0x11dfbd6a4 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
7: 0x11dfbc804 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
8: 0x11dfc8660 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
9: 0x11dfc8c04 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
10: 0x11defd884 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
11: 0x11dfe860c [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
12: 0x11e2c8c40 napi_register_module_v1 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
13: 0x11e14de04 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
14: 0x11e14f990 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
15: 0x11e14fd1c [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
16: 0x11e27a068 napi_register_module_v1 [/Users/raggi/projects/household/node_modules/.pnpm/@oxfmt+binding-darwin-arm64@0.41.0/node_modules/@oxfmt/binding-darwin-arm64/oxfmt.darwin-arm64.node]
17: 0x19a1d5c08 _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
18: 0x19a1d0ba8 thread_start [/usr/lib/system/libsystem_pthread.dylib]
other errors that occur sometimes
× Failed to format file with external formatter: /Users/sanjay/Documents/projects/household/services/core/cockpit/src/components/mfh/one-mfh/renovation-project/contract/ContractModal.vue
│ JS formatFile promise rejected: GenericFailure, [object Object]
× Failed to format file with external formatter: /Users/sanjay/Documents/projects/household/services/core/cockpit/src/components/mfh/one-mfh/renovation-project/contract/ContractDetails.vue
│ JS formatFile promise rejected: GenericFailure, [object Object]
× Failed to format file with external formatter: /Users/sanjay/Documents/projects/household/services/core/cockpit/src/components/core/DeleteEstate.vue
│ JS formatFile promise rejected: GenericFailure, [object Object]
Error occurred when checking code style in the above files.
Input
Cannot provide code unfortunately since its a very large internal vue app, I noticed that sometimes the command shows the below output, sometimes its runs, and sometimes it just fails without any output
In CI it appears to be working without any issues (ubuntu linux amd64)
Several of my colleagues with same local setup (macOS 26.1) have similar crashes that also do not happen deterministically
Config
{ "$schema": "../../../node_modules/oxfmt/configuration_schema.json", "ignorePatterns": [ "**/*.md", "**/*.json", "**/*.yml", "**/*.yaml", "**/*.css", "**/*.scss", "**/node_modules/**", "**/build/**", "**/dist/**", "**/.turbo/**", "**/coverage/**" ], "endOfLine": "lf", "tabWidth": 4, "printWidth": 160, "singleQuote": true, "trailingComma": "all", "arrowParens": "avoid", "semi": true, "bracketSpacing": true, "proseWrap": "always", "vueIndentScriptAndStyle": false, "useTabs": false, "experimentalTailwindcss": { "config": "./tailwind.config.js" } }Oxfmt output
Oxfmt version:
0.41.0other errors that occur sometimes