Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

App development Shopify CLI 3 - Vite errors - "optimized info should be defined"

App development Shopify CLI 3 - Vite errors - "optimized info should be defined"

Ned3
Shopify Partner
2 0 0

Hi,

I'm trying to create a super simple app,

and when I'm importing Shopify-api it gives me errors: 

 

 

Vite Error, /node_modules/.vite/deps/@shopify_shopify-api.js?v=10f3f8de optimized info should be defined

Apparently the new Shopify CLI is messed up... why does it give me these errors?

 

Replies 0 (0)