App reviews, troubleshooting, and recommendations
I had theme kit running on my pc but had to get a new computer because it wasn't handling running rpm for scss.
I got a new M1 MacBook and it's nice but I can't run theme kit. I have terminal running on Rosetta and successfully downloaded brew. Through brew I downloaded theme kit, but when I run theme in terminal I get this following error:
zsh: bad CPU type in executable: theme
I really need to get up and running asap. Any help is appreciated. Thank you!
@BWid55
Have you followed this doc?
I hope this will work easily.
https://shopify.dev/themes/tools/theme-kit/getting-started#macos
Thank you.
@Zworthkey I believe the only instructs there are to 1. set the terminal to run as rosetta and 2. run the other instructions as normal. Unless I missed something then I did follow these instructions but still am getting this error.
EDIT: Some additional information. I tried rerunning the install with:
brew tap shopify/shopify
brew install themekit
and received this warning:
Warning: shopify/shopify/themekit v1.3.0 is already installed and up-to-date.
To reinstall v1.3.0, run:
brew reinstall themekit
brendan@Brendans-MacBook-Pro ~ %
Which says to me the files are there, but when I type enter "theme" to test if it's functioning I get the first error I posted.
I was running into the same issue on my M1. Here's my fix on top of running terminal with rosetta2 (x86 compatible which is pretty much running commands with `arch -x86_64` prefix):
reinstall x86-compatible brew binary:
```
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
reinstall ruby (forgot why i picked 3.1 because i somehow saw a post mentioning that some shopify npm package depends on ruby >2.6, <3.2) and all the shopify packages with this x86-compatible brew:
```
arch -x86_64 brew install ruby@3.1
arch -x86_64 /usr/local/bin/brew tap shopify/shopify
arch -x86_64 /usr/local/bin/brew install themekit
```
So, here is the final solution for all of you MAC users -
I encountered the same problem with my M2 Max Chip.
Updating Rosetta worked for me →
softwareupdate --install-rosetta
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024