App Shopify Function Version couldn't be created

╭─ error ──────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  Version couldn't be created.                                                │
│                                                                              │
│  craftberry-vat-cart-transform                                               │
│                                                                              │
│  Validation errors                                                           │
│    • unknown import: `shopify_functions_javy_v2::canonical_abi_realloc` has  │
│      not been defined                                                        │
│    • Try the following actions:                                              │
│      - Upgrade your Shopify CLI (see                                         │
│      https://shopify.dev/docs/api/shopify-cli#upgrade)                       │
│      - Update your shopify_function dependency version                       │
│        - Rust (see https://shopify.dev/docs/apps/build/functions/programmin  │
│      g-languages/rust-for-functions)                                         │
│        - JavaScript (see https://shopify.dev/docs/apps/build/functions/prog  │
│      ramming-languages/javascript-for-functions)                             │
│      - Look for help on the Shopify Functions community forum (see           │
│      https://community.shopify.dev/c/shopify-functions)                      │
│                                                                     

I don’t know why this started happening before it was working. I didn’t change anything and all of a sudden it started to give me this error when I try to deploy my app. I also deleted this extension and it deployd normally. I tried to create just a default cart transformer function and deploy. It again failed even though I didn’t add anything to the defualt cart transform function.

Same here it is happening here using cart-transform

Are you any chance using mac?

No I am using windows 11. I creatred same type of cart transfrom function yesterday and deploy lot of time but now it is not working suddenly.

Yeah, same here. At first, I thought I had changed something that broke it, so I tried downgrading some packages, even the Shopify CLI and Node versions but nothing worked. After hearing you’re facing the same issue I’m starting to think the problem might be on Shopify’s end. Let’s see what the staff will say

1 Like

BTW It is happening for all other functions I think. I tried to redploy my discount function and same error :slight_smile:

@Saad_Ullah_Sajid I just woke up and tried again. It’s working for me now. You can check it again as well.

1 Like

Thanks, Yes it is working now