-
-
Notifications
You must be signed in to change notification settings - Fork 730
Labels
A-ResolverArea: resolverArea: resolverS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
CLI:
Version: 2.0.5
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v22.16.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: pnpm/10.12.2
Biome Configuration:
Status: Failed to load
Error: Failed to resolve the configuration from @timetree/biome-config
Workspace:
Open Documents: 0
What happened?
- Create a new project with JSR package dependency
- Add
@timetree/biome-configfrom JSR using any package manager - Configure
biome.jsonto extend from the JSR package - Run biome check
Reproduction repository: https://github.com/fujikky/biome-jsr-bug
Commands to reproduce:
git clone https://github.com/fujikky/biome-jsr-bug
cd biome-jsr-bug
pnpm install
pnpm biome check
> biome check
configuration ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Failed to resolve the configuration from @timetree/biome-config
Caused by:
Could not resolve @timetree/biome-config: module not found
Alternative package managers (also reproduce the issue):
- npm:
npm un @timetree/biome-config && npx jsr add -D @timetree/biome-config && npm run check - yarn:
yarn install && yarn check
Expected result
Biome should successfully resolve the @timetree/biome-config package installed from JSR and apply
Additional Context
- The package is correctly installed in
node_modules/@timetree/biome-config - In Biome v1.9.4, the JSR packages were resolved correctly.
- Workaround: Using relative path
./node_modules/@timetree/biome-config/biome.jsoninextendsworks
correctly - This affects all package managers (npm, yarn, pnpm) that support JSR packages
Code of Conduct
- I agree to follow Biome's Code of Conduct
Metadata
Metadata
Assignees
Labels
A-ResolverArea: resolverArea: resolverS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug