Open pmoreno-DTP opened 6 months ago
Do you have the right version/architecture of OpenJDK installed on your macbook? If you run "java -version", does it give the same answer about being the wrong architecture?
If you have the right version of java, you can try building your own mojito-cli. There are some instructions here.
Thanks for your promptly reply. Edwin.
The following 2-steps workaround solved my problem:
1) Install x86_64 brew under /usr/local/bin/brew arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
2) Create an alias for the x86_64 brew Add to .zshrc: # brew hack for x86 alias ibrew='arch -x86_64 /usr/local/bin/brew'
Ah, so it was brew itself that was that problem! That makes sense now that I re-read the error message. Glad you got it resolved!
I've followed the Getting Started instructions, but I'm not able to run the following command:
brew install mojito-cli
... and I've got the following error message after run the above commands:
"openjdk@8: The x86_64 architecture is required for this software. Error: mojito-cli: An unsatisfied requirement failed this build."
Considering I'm using a MacBook Pro with a M3 chip, is there any work around solution for this problem?