Skip to content

catalogs with @ packages not working (maybe when using resolutions) #8303

@userquin

Description

@userquin

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.5.0

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

vuetifyjs/nuxt-module#241

Reproduction steps

Run pnpm install from root

Describe the Bug

C:\temp-working\nuxt\vuetify-nuxt-module-main\date-io-playground:
 ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  @nuxt/kit@catalog:resolutions isn't supported by any available resolver.

This error happened while installing the dependencies of @unocss/[email protected]

An external package outside of the pnpm workspace declared a dependency using
the catalog protocol. This is likely a bug in that external package. Only
packages within the pnpm workspace may use catalogs. Usages of the catalog
protocol are replaced with real specifiers on 'pnpm publish'.

This is likely a bug in the publishing automation of this package. Consider filing
a bug with the authors of:

  @unocss/[email protected]

Progress: resolved 82, reused 71, downloaded 0, added 0

Expected Behavior

pnpm install should work

Which Node.js version are you using?

20.10.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions