Latest Shopify CLI Error w/ Theme App Extension

After installing the latest version of the Shopify CLI (@shopify/cli/3.73.0 darwin-arm64 node-v22.12.0), I am running into this error with my Theme App Extension. When running the shopify app build command, I receive an error that says “[error]: MissingSchema The schema does not exist” and it refers to the liquid file in the snippets directory. I can also see my code editor flagging it as an error.


However, it is contradictory because when I add a schema block to the snippet, I get another error that says, “Error while updating drafts: [snippets/text_field.liquid] Liquid syntax error: Unknown tag ‘schema’”.

Downgrading to the CLI version 3.72.2 fixes the issue for me.

1 Like

Thanks for the report Matthew! Let me double check with the team what the intended behavior here is.

1 Like

Looks like this was an unintended consequence of the check being added. We’ll address it and get a patch out.

In the meantime if you would like to be using 3.73.0 you can temporarily disable the check for this: MissingSchema

2 Likes

Im having the same issue. Where so I enable the option at? The docs are not clear on that.

Hi Josh. They have released a new update to the CLI v3.73.1 that fixes the issue. I ended up using v3.72.2 until it was fixed.

Hi @JoshHighland

You can enable this by adding a .theme-check.yml file to the root of your theme directory. See the docs here: Theme Check configuration

So you’d add the below to your file:

AppBlockMissingSchema:
  enabled: false
  severity: warning

But I’d first update the CLI version to see if the error is resolved in that.

1 Like

I’m on 3.75 and looks like it is still unresolved?

2 Likes

Same here I’m on 3.76
and I see this error on build


Maybe it’s because I don’t have schema in my snippet? I have schema for every app block so I don’t understand why the issue appears

It looks like you’ve added the .theme-check.yml file to your snippets directory for one of your extensions. It needs to be in the theme root directory.

Tried that also, same result.
I’m working on an app for Shopify not a theme so maybe it is not working cause of that.

I got the same issue and just posted Missing schema warning in snippets.

I’m using the latest Shopify CLI 3.76.2.

It’s an app extension, not a theme. I don’t want to disable the schema check on everything, only for snippets.

The missing schema error is a bug with the CLI - fix coming very soon!

1 Like