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

Failed to install with yarn on Mac M3 Pro #9243

Open
chornbec opened this issue Jul 29, 2024 Discussed in #7856 · 0 comments
Open

Failed to install with yarn on Mac M3 Pro #9243

chornbec opened this issue Jul 29, 2024 Discussed in #7856 · 0 comments

Comments

@chornbec
Copy link

I'm using latest version of Node (v22.5.1) and yarn (v1.22.22) and the yarn create keystone-app fails with "Failed to install with yarn", but succeeds with the npm installation fallback. I'd rather use yarn, however. Here is the command output:

> yarn create keystone-app
yarn create v1.22.22
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-keystone-app
[################################################################################################################] 164/164
✨ You're about to generate a project using Keystone 6 packages.

✔ What directory should create-keystone-app generate your app into? · jade_backend_keystone

⠸ Installing dependencies with yarn. This may take a few minutes.
⚠ Failed to install with yarn.
✔ Installed dependencies with npm.

Reverting to Node 16 as suggested in the below discussion did not work for me. Is there any way I should debug this? Any solutions?

Discussed in #7856

Originally posted by saintsalo August 28, 2022
I just got a Mac M1 and noticed that installing keystone with yarn create keystone-app will fail to install with yarn:

❯ yarn create keystone-app
yarn create v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-keystone-app
[################################################################################################################################################################] 361/361
✨ You're about to generate a project using Keystone 6 packages.

✔ What directory should create-keystone-app generate your app into? · test

⠹ Installing dependencies with yarn. This may take a few minutes.
⚠ Failed to install with yarn.

I'm currently using yarn version 1.22.19
Am I missing something that I need to install?

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