Closed jhardin-accumula closed 2 weeks ago
Having the same issue.
Same issue here :)
Same issue....
I'm experiencing the same problem: CI deployment broke when updating from @shopify/cli 3.64.1
to @shopify/cli 3.65.1
. In my case, I'm using --config
to choose one between staging and production TOML files, like so:
pnpm run shopify app deploy -f --config sandbox --source-control-url "$COMMIT_URL"
pnpm run shopify app deploy -f --config production --source-control-url "$COMMIT_URL"
This PR which was released in version 3.65.1 sounds like it might be related, but then I'd expect this to be resolved in 3.65.1, which it seems not to be. Maybe there's more needed?
I can also confirm that downgrading from @shopify/cli@3.65.1
to @shopify/cli@3.64.1
fixed this issue for me, which I was seeing when running within GitHub Actions.
Same issues here, impossible to deploy via the CLI without going through the manual app linking process of the shopify app deploy
command.
Downgrading to 3.64.1
fixes the issue.
same. revert to 3.64.* hepls upd. 3.66.0 steel have the problem
It should be fixed in v3.66.1
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
Executing
npm run shopify app deploy --force
in a CI Dockerfile build script with a valid, known-to-Shopify app ID in the TOML file and in$SHOPIFY_API_KEY
and a valid Partner token in$SHOPIFY_CLI_PARTNERS_TOKEN
should detect that the app is known to Shopify and should successfully deploy the changes and register a new version of the app.This is using CLI 3.64.1
Actual behavior
Build step:
npm run shopify -- app deploy --force --verbose --source-control-url "https://bitbucket.org/mumble";
emits:...and fails, terminating the CI build.
Installing Shopify CLI 3.64.1 explicitly with no other changes restored the build process to successful completion.
Verbose output
Reproduction steps
shopify app deploy --force
in that Docker build script.Operating System
docker image php:8.1-fpm-alpine
Shopify CLI version (check your project's
package.json
if you're not sure)3.65.0
Shell
bash
Node version (run
node -v
if you're not sure)20.15.1
What language and version are you using in your application?
Node 20.15