Skip to content

πŸ› Cannot extends package when more than 2 slash (/)Β #9370

@kamontat

Description

@kamontat

Environment information

Details
CLI:
  Version:                      2.4.6
  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:           v22.12.0
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         pnpm/10.28.0

Biome Configuration:
  Status:                       Failed to load
  Error:                        Failed to resolve the configuration from @kcconfigs/biome/features/svelte

Workspace:
  Open Documents:               0

What happened?

I created reproduce repository here: https://github.com/kamontat/biome-issue-9370

When publish package when more than 2 slash,
the module resolve seem to not able to resolve the package even the path is set up correctly.

  βœ– Failed to resolve the configuration from @kcconfigs/biome/features/svelte
    
    Caused by:
      Could not resolve @kcconfigs/biome/features/svelte: module not found

Expected result

It should not throw any error

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ResolverArea: resolverS-Bug-confirmedStatus: report has been confirmed as a valid bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions