Shopify CLI set up

Topic summary

Problem: After running “shopify theme dev --store ec1devstore1” and successfully logging in, an error appears. The user is the store owner and is logged into the dashboard. A screenshot of the error is attached, but the exact message isn’t transcribed.

Context: This involves the Shopify CLI (command-line interface) used to develop and preview themes locally.

Latest guidance: A support reply points to the public Shopify CLI GitHub repository and a recent similar issue (#776). The suggested fix from that issue is to run the built-in command “shopify auth logout” to clear the session, then try the command again.

Action items:

  • Run: “shopify auth logout” and retry the theme dev command.
  • If the problem persists, add details (including the error output) to the referenced GitHub issue for deeper investigation.

Status: Not yet resolved in the thread; awaiting user confirmation after trying the logout workaround. Images are central (error screenshot), but the text of the error isn’t provided here.

Summarized with AI on February 4. AI used: gpt-5.

I’m trying to set up the Shopify CLI. When I run the command “shopify theme dev --store ec1devstore1” and after I’ve successfully logged in I get the following error message.

I am the owner and I have logged into the store dashboard, so I’m stuck as to what I am doing incorrectly.

I’ve contacted Shopify support, and they could not see an issue, so they sent me here! Any help would be greatly appreciated!

Hi ec1sean,

For issues with the CLI the best resource is the [public GitHub repository] where there’s [a recent issue report] describing a similar problem.

In that post it looks like the solution was to use the ‘auth logout’ command that’s built in to the CLI to clear out the login session before trying again. If that doesn’t help then posting a followup on that issue would be a good next step.