Shopify app dev throwing an error "Field 'appUiDeployments' doesn't exist on type 'Betas'"

Steps to reproduce:
Using node v20.3.1, cli 3.0
cd to the app dir

run npm run dev (alias: shopify app dev)

The error pops up.

2 Likes

I also suddenly get this error when using the ruby shopify template

2 Likes

I also suddenly get this error when using the Node js Custom APP

Having the same issue. The error started today, it was working around 18 hours ago yesterday. Seeing this, I believe it must be something with the Shopify servers.. hopefully, they fix it soon or acknowledge it. @SADIK112 @julien-san @Shopify_77 @shopify

1 Like

I also saw the same error on my dev app. Did you find any solution of this issue?

1 Like

Yes i Find the Solution @SADIK112 @rameshpy @julien-san

So I was able to resolve this issue by upgrading to the latest CLI (npm run shopify upgrade). Be aware that deployment will change after upgrading.

Best of luck :+1:

1 Like

Yes i Find the Solution @SADIK112 @rameshpy @julien-san

So I was able to resolve this issue by upgrading to the latest CLI (npm run shopify upgrade). Be aware that deployment will change after upgrading.

Best of luck :+1:

Thanks! Note: For some it may be npx shopify upgrade

Hey there. Just a bit of context about this issue:

  • On Sep 5th users should have to upgrade to the CLI version 3.48.0 or higher to run the deploy command, as every app were moved to use the new Simplified deployments strategy.
  • Based on that assumption some deprecated fields were removed from the CLI API that referenced to betas used for that purpose.
  • However that beta was included in the Organization entity which is fetched by other CLI commands, mainly, dev which now is broken.
    The beta is going to be restored to fix the problem.
    As some of you have mentioned, the issue can be fixed too if you upgrade the CLI version (which BTW it’s really recommended action point every time it’s possible) but the dev the command should have not failed in that unexpected way.
    Thanks a lot for rising up the issue and sorry for inconveniences.

I’m using the ruby template and upgrading @Shopify_77 /app fixed the issue:

yarn upgrade @Shopify_77 /app --latest

It went from β€œ3.45.1” to β€œ3.49.7”