-
-
Notifications
You must be signed in to change notification settings - Fork 895
Description
Environment information
Details
```bash biome rage ```CLI:
Version: 2.4.5
Color support: truePlatform:
CPU Architecture: aarch64
OS: macosEnvironment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_LOG_LEVEL: unset
BIOME_LOG_KIND: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
BIOME_WATCHER_KIND: unset
BIOME_WATCHER_POLLING_INTERVAL: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v25.6.1
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: npm/11.9.0Biome Configuration:
Status: Loaded successfully
Path: biome.jsonc
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
HTML full support enabled: unsetWorkspace:
Open Documents: 0
What happened?
RUST_BACKTRACE=1 npx -p @biomejs/biome@2.4.5 biome check "$Dir"/*Biome encountered an unexpected error
This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue.
When opening the issue, please provide a minimal reproduction, or identify and share the file/code that triggers it. Without a way to reproduce the error, the error can't be fixed:
Source Location: /Users/runner/work/biome/biome/crates/biome_analyze/src/options.rs:27:35
Thread Name: biome::workspace_worker_0
Message: calledOption::unwrap()on aNonevalue
Stack Trace: Re-run withRUST_BACKTRACE=1to capture the stack tracedemo.html internalError/panic INTERNAL
✖ processing panicked: called
Option::unwrap()on aNonevalue⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Reproduction
- Download and extract Reproduction 2.zip
- cd "Reproduction 2"
sh ./demo.sh- See the world falling apart.
If you are unable to reproduce using previous procedure, try with this:
- https://codesandbox.io/p/devbox/pzs46p
npx -p @biomejs/biome@2.4.5 biome check demo.html demo/
NOTE: this CodeSanbox instance will be deleted after reproduction confirmation from one the maintainers.
Expected result
It should not fail.
Code of Conduct
- I agree to follow Biome's Code of Conduct