0

I've done research on how to get permission but it doesn't seem to work. At first I tried on my mac book pro, but after trying for hours I still couldn't seem to get it to work so I switched to my Mac computer, and its doing the same thing. Please help.

1 Answer 1

1

If you're using a newer M1 Mac, you might need to install Rosetta and homebrew (specifically the version for ARM M1 chips) before you can install yarn.

  1. Check if your Mac is using an Apple M1 chip (instructions)
  2. If you are using an M1 Mac, install Rosetta 2 and homebrew following these steps. Learn more about Rosetta 2 here.
  3. Install yarn via the homebrew method (under the Alternatives section)

As for npx, you might also need to check you have the lastest Node version (which should be M1 compatible); older versions probably also need Rosetta (details).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.