Skip to content

bun install fails on pnpm catalog protocol (catalog: dependencies) #25827

@schickling

Description

@schickling

What happens?

bun install fails when a dependency uses pnpm's catalog: protocol (resolved via pnpm-workspace.yaml). The error is failed to resolve, which blocks migration from pnpm for repos using catalogs.

Steps to reproduce

  1. Create a repo with:
{
  "name": "catalog-repro",
  "private": true,
  "devDependencies": {
    "typescript": "catalog:"
  }
}
  1. Add pnpm-workspace.yaml with:
catalog:
  typescript: 5.9.2
  1. Run: bun install

Actual output

error: typescript@catalog: failed to resolve

Expected

Either support catalog: as a dependency protocol (pnpm compatibility), or provide a clear migration/error message with suggested alternatives.

Environment


Filed on behalf of @schickling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions