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 #8424

Open
jakobvase opened this issue Nov 28, 2024 · 2 comments
Open

Pkgx errors on yarn 1 #8424

jakobvase opened this issue Nov 28, 2024 · 2 comments

Comments

@jakobvase
Copy link
Contributor

example $ pkgx --version
pkgx 1.3.1
example $ ls
package.json
example $ cat package.json
{
    "packageManager": "[email protected]"
}
example $ dev on
× version unavailable [email protected]
│ 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.

@jakobvase
Copy link
Contributor Author

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

@mxcl mxcl transferred this issue from pkgxdev/pkgx Jan 15, 2025
@mycrEEpy
Copy link
Contributor

mycrEEpy commented Jan 23, 2025

yarn 1 is in package classic.yarnpkg.com not yarnpkg.com. So the discovery might be wrong here which is reading the package.json.

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

2 participants