All things Shopify and commerce
Hi, I'm trying to set up a local development environment for the Shopify theme. I've installed all the necessary files. whenever I run CMD so I get this error (command failed with exit code 5: bundle install error how to solve this). with every kind of Shopify command. you can see the error image below for a better understanding.
Are you running cmd as administrator?
Both ways it's Not working.
I'm facing the same issue in the Vs code terminal as well.
Hi,
When I had this issue I had to run VS Code as administrator in order for the terminal to have the correct permissions.
If that doesn't work I hope somebody else can help you.
Unfortunately it not working in my case. but Thanks For letting me know.
I hit to the same problem...
Hi, Can you help me how did you solve this issue?
I'm having the same problem with a fresh install of everything and getting the same error messages (also logged in as admin)
Anyone have an alternative idea of things to try?
Do the window again I did the same it worked for me.
brew update
brew upgrade
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
By doing the above, everything worked in my environment.
hi, I'm facing the same problem. Did you solve it?
Yes, the problem is solved now.
Do the window again I did the same it worked for me.
I'm having the same problem and have no idea what "do the window again" means either. Any luck on your side trying to figure it out?
Ok, I managed to solve it. And "do the window" definitely was a red herring. It has got nothing to do with Windows. The main cause of the problem was that the latest version of Shopify/cli had a bug that caused this issue. (3.60.1 as of the time of writing)
For anyone looking for a solution on Windows 10, this is how I fixed it.
Uninstall Shopify CLI by running the command `npm uninstall -g @Shopify/cli @Shopify/theme` and then installing an older version of the Shopify CLI (3.51.1 worked for me) `npm install -g @Shopify/cli@3.51.1 @Shopify/theme@3.51.1`
Everything should work after the install. This took me a whole day to figure out what went wrong. I hope this helps.
What version of Ruby are you using?
Hey man stop being dumb with your 'window' thing - nobody knows what it means. Jheng was clear enough.
so guys finally i got the solution the error coms from your username cous your username with space exampel C:\Users\hamdi ben bechir the solution is C:\Users\hamdibenbechir thank me later
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025