Closed Jay-Plumb closed 22 hours ago
Thank you for reporting this, @Jay-Plumb! Upgrading to Shopify 3.69.0 should resolve this issue.
This bug was occurring in the legacy implementation of the shopify theme push
command (and Shopify CLI 3.68.x was still using the legacy one in some scenarios, as the logs show it's the legacy one running).
However, Shopify CLI 3.69.0 runs the new implementation of the push command in all scenarios by default, so you shouldn't experience this issue there.
With that in mind, I'm closing this one, but thank you for reporting it!
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I have a github action that creates a shopify theme. On first run, I always see the following error when using context templates.
Existing issues: https://github.com/Shopify/cli/issues/3301 is the same issue but I can see was closed out
Actual behavior
The following error is observed: update templates/index.context.b2b.json: Parent filename 'index.json' does not exist. Please enter a valid filename
Verbose output
Reproduction steps
shopify theme push --unpublished --theme='test' --environment='development' --path=''
. Note that this only happens when running a CI/CD integration and not from the command lineOperating System
darwin-x64
Shopify CLI version (check your project's
package.json
if you're not sure)@shopify/cli/3.68.0
Shell
No response
Node version (run
node -v
if you're not sure)v22.9.0
What language and version are you using in your application?
No response