A developer inherited a Shopify theme app repository and encountered errors when running npm start with the latest component versions (Node v24.1.0, shopify-cli 3.80.7, Ruby 3.4.4).
Primary Error:
LoadError stating “cannot load such file – base64”
Message indicating gems are disabled and warning against modifying CLI locally
Additional Issue:
When attempting to run a Hydrogen repo, received “Cannot find module ‘vite’” error
Error traces back to shopify-cli installation path
Troubleshooting Attempts:
Initially installed CLI via Homebrew (brew install shopify-cli)
Tried uninstalling Homebrew version and reinstalling via npm (npm install -g @shopify/cli)
I just took over a repo of shopify theme app. I have installed the latest version of needed components and ran npm start, then I got error below. I don’t think there is any code that tries to modify the shopify-cli.
Just wonder if any of you have encountered similar issue before. Any information would be appreciated.
Thanks for your reply. Just i don’t have old version of the shopify cli, it was the first time installing it, and I believe the 3.80.7 is the latest. These are the command I used to install it. Does it matter by using brew or npm?