Skip to content
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

Pkgx errors on yarn 1 #1055

Open
jakobvase opened this issue Nov 28, 2024 · 1 comment
Open

Pkgx errors on yarn 1 #1055

jakobvase opened this issue Nov 28, 2024 · 1 comment

Comments

@jakobvase
Copy link
Contributor

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.

#905 is probably related, but more theoretical. This is an error.

@jakobvase
Copy link
Contributor Author

I've downgraded to 1.1.6 and can confirm it works there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant