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