When I try to use “shopify app deploy” command to update theme-app-extension, it shows me that it will remove the current extension and includes a new one which results in deleting app users data permanently. In simple terms, a merchant who has this app-embed enabled, would no longer have this enabled after this update.
Includes:
Removes:
This can permanently delete app user data.
Any help would be highly appreciated towards updating the existing app-embed without getting this disabled for currently using users.
Hey Akila,
Can you share the contents of the .env file? If you try removing it completely what happens?
Hi Liam,
I don’t have the .env file right now. I lost it. ![:frowning: :frowning:](https://emoji.discourse-cdn.com/twitter/frowning.png?v=12)
Here is how I tried to push the extension. Please kindly see the screencast.
I am grateful for your attention on this.
Thanks
Hi Akila,
Thanks for sharing this recording - our team are thinking the issue is likely due to an invalid UUID in your .env
file That file could be hidden in your filesystem and you’re are not seeing it. Our recommendation is:
- Upgrade the CLI to the latest version
- Look for the hidden
.env
file inside the app folder and remove it
- Try
shopify app deploy
again
Hi Liam,
To make sure there is no .env file, I just created one and set the UUID manually and tried. + updated the CLI along with node version.
I still got the same result, unfortunately.
There might be a problem with my UUID, however. When I tried to create a deep link, it did not work for that ID. Further, if I try to search the app extension in the theme editor as follows, my app embed does not show up for some reason.
Thank you so much for spending time on this matter.