-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Can't create project with yarn [modern] dlx #4923
Comments
This is actually an issue with yarn/chalk/both and not an issue with Astro itself chalk/chalk#531 yarnpkg/berry#3879 |
I'm aware that yarn resolutions can be used as a workaround, but as far as I'm aware there isn't a way to use this with
It seems like |
Replacing chalk with an alternative that supports pnp would indeed work. Also, you’d indeed need to replace ora if it uses chalk |
Do you have any recommendations for progress libraries? |
no I don't sadly |
You can try yarn v4, Edit: Yarn Alas Node |
Closing per #4923 (comment), not an issue with Astro. |
Work around, as per Corepack docs: corepack yarn@3.2.4 dlx create-astro |
What version of
astro
are you using?1.4.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Mac
Describe the Bug
Using yarn dlx (the yarn modern version of yarn/create) leads to a package installation error:
Link to Minimal Reproducible Example
Participation
Workaround
Create the project with
yarn create
and then upgrade to yarn modern withyarn set version stable
.The text was updated successfully, but these errors were encountered: