Shopify app deploy removing extensions

I have been working on extensions. from yeasterday i am facing issue for shopify app deploy where its removing all extensions when i do shopify app deploy. i have tried below solutions which didnt work

  1. upgraded shopify CLI to latest version
  2. Downgraded to shopify CLI to previous stable version
  3. Removing and adding .env file

Can you clear cache by running shopify cache clear and re-deploy?

I tried running shopify cache clear and then re-deploying, but my extension is still not loading.

Make sure that your extension folder contains the shopify.extension.toml file.

/your-project-root  
│── /extensions  
│   ├── /your-extension-name  
│   │   ├── shopify.extension.toml  

│── other-project-files  

I tried this method, but I’m still getting the error

image

Add type property, if it’s theme extension than the put this

name = "your-extension-name"
type = "theme"


Tried type : “theme” it removed the error but still sane issue it’s not detecting the extensions.

Share your project directory structure, how’s everything setup

project_name
│── ext1/ # Main extension 1 (source code)
│── ext2/ # Main extension 2 (source code)
│── extensions/
│ │── assets/ # Built files from ext1 and ext2 after the build process
│ │── blocks/ # Blocks related to extensions
│── shopify.app.toml # Shopify app configuration
│── webpack.config.js # Webpack configuration for building extensions

Any updates or fixes for this issue? I just ran into something similar trying to migrate my app with one app-embed extension where it removes my extension upon shopify app deploy

Release a new version of Pickup & Delivery Buddy?

┃ Configuration:
┃ No changes

┃ Extensions:
┃ - kaspud-theme-app-extension (removed)

┃ Removing extensions can permanently delete app user data

Type … to confirm, or press Escape to cancel.