Skip to content

πŸ› processing panicked: called Option::unwrap() on a None valueΒ #9234

@daniele-orlando

Description

@daniele-orlando

Environment information

Details
biome rage

CLI:
Version: 2.4.4
Color support: true

Platform:
CPU Architecture: aarch64
OS: macos

Environment:
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.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: unset

Biome Configuration:
Status: Loaded successfully
Path: biome.jsonc
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
HTML full support enabled: unset

Workspace:
Open Documents: 0

What happened?

RUST_BACKTRACE=1 biome lint file.ts

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: called Option::unwrap() on a None value
Stack Trace:
0: __mh_execute_header
1: __mh_execute_header
2: __mh_execute_header
... (omitted for clarity, it's __mh_execute_header repeated)
25: __mh_execute_header
26: __mh_execute_header
27: __mh_execute_header
28: __pthread_cond_wait

file.ts internalError/panic INTERNAL

βœ– processing panicked: called Option::unwrap() on a None value

⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.

Checked 0 files in 6ms. No fixes applied.
lint ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ– No files were processed in the specified paths.

β„Ή Check your biome.json or biome.jsonc to ensure the paths are not ignored by the configuration.

β„Ή These paths were provided but ignored:

  • file.ts

Expected result

It should not fail.

Reproduction

  1. Download and extract Reproduction.zip
  2. cd Reproduction
  3. sh ./demo.sh
  4. See the world falling apart.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-Needs triageStatus: this issue needs to be triaged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions