Skip to content

[Bug]: Error Theme ID mismatch #6384

@Sabine-Tieland

Description

@Sabine-Tieland

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

When local running a theme for development it should not stop out of the blue with error saying 'Theme ID mismatch'

Actual behavior

When running the theme local while developing, out of the blue it stops giving an error in the terminal saying:
Command failed with exit code 1.
│ Theme ID mismatch: expected [some_i but got [some_other_id].
│ Request ID: xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx-xxxxxxxxxx
│ URL:
│ This is likely related to an issue in upstream Shopify APIs.
│ Please try again in a few minutes and report this issue:
│ https://github.com/Shopify/cli/issues/new?template=bug-report.yml

Verbose output

Verbose output
Version 9.12.1 (compiled to binary; bundled Node.js v18.20.4)
Usage: pnpm [command] [flags]
pnpm [ -h | --help | -v | --version ]

Manage your dependencies:
    add                  Installs a package and any packages that it depends on. By default, any new package is installed as a prod dependency
    import               Generates a pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json) file
 i, install              Install all dependencies for a project
it, install-test         Runs a pnpm install followed immediately by a pnpm test
ln, link                 Connect the local project to another one
    prune                Removes extraneous packages
rb, rebuild              Rebuild a package
rm, remove               Removes packages from node_modules and from the project's package.json
    unlink               Unlinks a package. Like yarn unlink but pnpm re-installs the dependency after removing the external link
up, update               Updates packages to their latest version based on the specified range

Review your dependencies:
    audit                Checks for known security issues with the installed packages
    licenses             Check licenses in consumed packages
ls, list                 Print all the versions of packages that are installed, as well as their dependencies, in a tree-structure
    outdated             Check for outdated packages

Run your scripts:
    exec                 Executes a shell command in scope of a project
    run                  Runs a defined package script
    start                Runs an arbitrary command specified in the package's "start" property of its "scripts" object
 t, test                 Runs a package's "test" script, if one was provided

Other:
    cat-file             Prints the contents of a file based on the hash value stored in the index file
    cat-index            Prints the index file of a specific package from the store
    find-hash            Experimental! Lists the packages that include the file with the specified hash.
    pack                 Create a tarball from a package
    publish              Publishes a package to the registry
    root                 Prints the effective modules directory

Manage your store:
    store add            Adds new packages to the pnpm store directly. Does not modify any projects or files outside the store
    store path           Prints the path to the active store directory
    store prune          Removes unreferenced (extraneous, orphan) packages from the store
    store status         Checks for modified packages in the store

Options:
-r, --recursive          Run the command for each project in the workspace.

Reproduction steps

  1. npm run start
  2. selected environment
  3. did some style or liquid changes and saved them
  4. did changes a few more times
  5. get error 'Theme ID mismatch' and stops completely with 'Command failed with exit code 1.'
  6. can no longer do changes, need to restart

Operating System

MacOS Sequoia v15.6.1sh

Shopify CLI version (shopify --version)

3.83.3

Shell

Git

Node version (run node -v if you're not sure)

v18.20.4

What language and version are you using in your application?

html/css/liquid/node JS

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions