Theme dev doesn't work after updating shopify CLI

Hello,

I’m trying to work on my theme and decided to upgrade the shopify CLI from 4.3 to 4.5. now when I try to run theme dev I get the following error on the browser:

Internal Server Error

uninitialized constant ShopifyCLI::Theme::DevServer::CdnFonts::Rack


WEBrick/1.7.0 (Ruby/3.2.2/2023-03-30) at 127.0.0.1:9292

Other info:

Mac OS 13.3.1, ruby version 3.2.2,
theme dev worked fine before the update,
other commands like theme pull, and theme init are working fine.

Does anyone know what’s happening?

2 Likes

I have the exact same issue. I’ve deleted cookies (suggestion from github issue). I still have the issue. Every other command in the CLI works for me too :confused:

I am the same way.
Anyway, I reverted to Shopify CLI version: 3.45.1.

Looks like I will have to do the same, seems to be a common issue.

Did you happen to downgrade using Homebrew? if so how did you do it?

Looks like Shopify fixed the issue! upgrade your CLI version to 4.5.4 and it works great.

1 Like