Skip to content

Pkgx errors on yarn 1 #8424

@jakobvase

Description

@jakobvase
example $ pkgx --version
pkgx 1.3.1
example $ ls
package.json
example $ cat package.json
{
    "packageManager": "yarn@1.22.19"
}
example $ dev on
× version unavailable yarnpkg.com@1.22.19
│ please check the following url for available versions
│ if it’s not there, we’ll build it! open a ticket on the pantry.
╰─➤ https://dist.pkgx.dev/?prefix=yarnpkg.com/darwin/aarch64

I updated today (dunno what I was on before. 1.1.6 maybe?), and hit this error.

I can't easily change the package.json, since we're a whole team using it. I've been fine just adding my own pkgx.yaml next to it before - pkgx would install both yarns but it ran fine - but that doesn't work anymore, so now I have to edit the package.json locally to use pkgx and deal with reapplying the local changes whenever I change branches etc.

pkgxdev/dev#24 is probably related, but more theoretical. This is an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions