Skip to content

[Bug?]: cannot install packages using their npm release tags #6778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
aqeelat opened this issue Apr 29, 2025 · 0 comments
Open
1 task

[Bug?]: cannot install packages using their npm release tags #6778

aqeelat opened this issue Apr 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@aqeelat
Copy link
Contributor

aqeelat commented Apr 29, 2025

Self-service

  • I'd be willing to implement a fix

Describe the bug

The @angular-devkit/architect package for example, has tags to their versions based on the upstream angular version they support. For example: v18-lts. However, when I try to yarn add using the tag, I get:

➤ YN0000: · Yarn 4.9.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: @angular-devkit/architect@v18-lts isn't supported by any available resolver
    at rm.getResolverByDescriptor (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:141:1698)
    at rm.bindDescriptor (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:141:1083)
    at t.preparePackage (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:210:6173)
    at async X (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:210:7587)
    at async Promise.allSettled (index 0)
    at async Uu (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:140:53356)
    at async /Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:210:9166
    at async Ot.startProgressPromise (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:140:139721)
    at async t.resolveEverything (/Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:210:7138)
    at async /Users/aqeelat/.cache/node/corepack/v1/yarn/4.9.1/yarn.js:213:2645
➤ YN0000: └ Completed
➤ YN0000: · Failed with errors in 0s 31ms

https://www.npmjs.com/package/@angular-devkit/architect?activeTab=versions

To reproduce

yarn add -D @angular-devkit/architect@npm:v18-lts

Environment

System:
    OS: macOS 15.2
    CPU: (12) arm64 Apple M3 Pro
  Binaries:
    Node: 22.14.0 - /private/var/folders/sw/0cg5hn654v32hzpvktggvkvr0000gn/T/xfs-b4507045/node
    Yarn: 4.9.1 - /private/var/folders/sw/0cg5hn654v32hzpvktggvkvr0000gn/T/xfs-b4507045/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    bun: 1.2.10 - /opt/homebrew/bin/bun
  npmPackages:
    jest: ^29.7.0 => 29.7.0

Additional context

Not sure if this is a bug or a feature that is yet to be developed.

@aqeelat aqeelat added the bug Something isn't working label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant