You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
Function, Extension
Expected behavior
Running npm run dev should in an app with Rust extensions, for example a Delivery Customization shoul work and deploy the working version in the development environment.
Actual behavior
Instead, an error shows in the console, even after successfully compiling the extension (cargo build, etc...):
Error while updating drafts: failed to compile WebAssembly module
I checked different CLI versions, and it works correctly until version 3.70.0.
Looking at the source code it looks like this is just what the DeveloperPlatformClient.updateExtension graphql mutation returns in userErrors:
Please confirm that you have:
In which of these areas are you experiencing a problem?
Function, Extension
Expected behavior
Running npm run dev should in an app with Rust extensions, for example a Delivery Customization shoul work and deploy the working version in the development environment.
Actual behavior
Instead, an error shows in the console, even after successfully compiling the extension (cargo build, etc...):
Error while updating drafts: failed to compile WebAssembly module
I checked different CLI versions, and it works correctly until version 3.70.0.
Looking at the source code it looks like this is just what the DeveloperPlatformClient.updateExtension graphql mutation returns in userErrors:
cli/packages/app/src/cli/services/dev/update-extension.ts
Line 73 in 7d2f856
Verbose output
Verbose output
Reproduction steps
Just run any of the documentation samples, for example https://shopify.dev/docs/apps/build/discounts/build-discount-function?extension=rust[](url)
Operating System
Mac OS Sonoma
Shopify CLI version (
shopify --version
)@shopify/cli/3.71.2 darwin-arm64 node-v22.12.0
Shell
Zsh
Node version (run
node -v
if you're not sure)v22.12.0
What language and version are you using in your application?
rustc 1.83.0 but I tried multiple old versions
The text was updated successfully, but these errors were encountered: