This morning I updated my Shopify CLI to the latest version (2.11.0), and now nothing works.
Every time I try to use the shopify app/command to do anything, I get this:
X An unexpected error occured.> > To submit an issue include the stack trace.- Running Windows 11.
Ruby version is 2.7.5p203.
I have tried uninstalling and reinstalling the Shopify CLI.
I have re-installed Git and made sure I have a PATH variable that points to git.exe.
Stack trace goes as follows:
Traceback (most recent call last):> 32: from C:/Users/[username]/Software/Ruby27-x64/bin/shopify:23:in `
I see at the end that it is looking for “node”, but when I try to install the node gem, it complains that the data_structure_error gem is not compatible with Ruby past version 2.6.5, which is too low for Shopify CLI.
Not sure what else to do. Any help would be appreciated!
@martincrownover@WellNaturedHemp I haven’t heard back from support but I kept messing around and eventually got an update notification when I checked for the shopify version. Updated again and it seems fine so far. My working CLI version is 2.11.1
Well, I completely uninstalled the CLI and Ruby, reinstalled and still the same issue. I didn’t do a stack trace or anything - I’ve already spent more time on this than is worth it right now, so I’m going to call time of death and move on. If anyone finds another solution or anything, please post a reply and I will make sure to do the same.
Hello, I had the same Problem like the creator of this Question. I found this via Github:
2 things:
The error message notes you don’t have node installed, and node is required. Others have been experiencing this as well due to some recent changes and we’re working on a fix.
We don’t support Ruby 3.1 just yet; there’s also a fix in the works for the brew formula so it’ll install 3.0 instead.
Because of that, I uninstalled and reinstalled Ruby + Shopify CLI. After that I installed node (until then I did not have node installed)