Everytime i try to generate an Checkout UI extension, i get this problem even if all things are updated to the last version ect. Do someone know why ?
Type reference for purchase.checkout.block.render could not be found. │
│ You might be using the wrong @shopify/ui-extensions version. Fix the │
│ error by ensuring you install @shopify/ui-extensions@2025-07 in your │
│ dependencies. │
│ │
│ To investigate the issue, examine this stack trace: │
│ at Fix the error by ensuring you install @shopify/ui-extensions │
│ at getSharedTypeDefinition (opt/homebrew/Cellar/shopify-cli/3.78.0/lib │
│ exec/lib/node_modules/@shopify/cli/dist/index.js:220684) │
│ at contributeToSharedTypeFile (opt/homebrew/Cellar/shopify-cli/3.78.0/ │
│ libexec/lib/node_modules/@shopify/cli/dist/index.js:220613) │
│ at all │
│ at generateExtensionTypes (opt/homebrew/Cellar/shopify-cli/3.78.0/libe │
│ xec/lib/node_modules/@shopify/cli/dist/index.js:218431) │
│ at loaded (opt/homebrew/Cellar/shopify-cli/3.78.0/libexec/lib/node_mod │
│ ules/@shopify/cli/dist/index.js:221059) │
│ at task (opt/homebrew/Cellar/shopify-cli/3.78.0/libexec/lib/node_modul │
│ es/@shopify/cli/dist/index.js:233872) │
│ at async runTask2 (opt/homebrew/Cellar/shopify-cli/3.78.0/libexec/lib/ │
│ node_modules/@shopify/cli/dist/chunk-R2JN4S25.js:30894) │
│ at (opt/homebrew/Cellar/shopify-cli/3.78.0/libexec/lib/node_modules/@s │
│ hopify/cli/dist/chunk-R2JN4S25.js:30910)