Skip to content

[Bug]: yarn create doesn't work with @scope #4626

@alan-agius4

Description

@alan-agius4

Self-service

  • I'd be willing to implement a fix

Describe the bug

When using yarn create the version specifier doesn't work when the package is scoped. Example yarn create @angular@next.

 YN0000: ┌ Resolution step
➤ YN0001: │ Error: create-@angular@next isn't supported by any available resolver
    at Bd.getResolverByDescriptor (/.node/corepack/yarn/3.2.1/yarn.js:396:1664)
    at Bd.bindDescriptor (/.node/corepack/yarn/3.2.1/yarn.js:396:1053)
    at ee (/.node/corepack/yarn/3.2.1/yarn.js:442:6954)

To reproduce

yarn create @angular@next

Environment

System:
    OS: Linux 5.17 Debian GNU/Linux rodete 12 (rodete)
    CPU: (48) x64 AMD EPYC 7B12
  Binaries:
    Node: 16.15.1 - /tmp/xfs-cbdcc8f4/node
    Yarn: 3.2.1 - /tmp/xfs-cbdcc8f4/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions