Shopify CLI updates theme

We started migrating some repository from Bitbucket to Github. While doing so everything goes well until I start shopify theme dev to start the project. The theme is an older version of Dawn.

Once I get the preview link, customizer link and the local environment link, this error appears -New schema is incompatible with the current setting value. Setting 'page_width' must be a string and then the settings_schema.json and the settings_date.json are updated to the latest version of Dawn.

Since a lot of the new settings were not includes in previous version, I get a lot of missing translation, because the files in the locales folder are not updated.

The weird thing is that my colleague doesn’t have this problem.

Has it happened to anybody before?

Hi Cedric,

Just to confirm - are you running the most recent version of the CLI?

Yes. I’m running the 3.70.0 version of the CLI.

I found a workaround. The problem was with the schema for the layout, the page-width with for the older version was a select with 3 options, I changed the schema to a range and it fixed the issue.

Glad to hear you got this working again!

1 Like