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
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.
- Check if your Mac is using an Apple M1 chip (instructions)
- If you are using an M1 Mac, install Rosetta 2 and homebrew following these steps. Learn more about Rosetta 2 here.
- 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).