Skip to content

[Bug]: <Javascript function build error> #2686

Description

@lxnre-codes

Please confirm that you have:

  • 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.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Function

Expected behavior

npm exec -- shopify app function build should build successfully. Was working earlier, suddenly stopped working.

Actual behavior

Error coming from `npm exec -- javy compile -d -o extensions/product-discount/dist/function.wasm dist/function.js`

Reproduction steps

  1. npm exec -- shopify app function build in a typescript function directory

Operating System

macOS Ventura

Shopify CLI version (check your project's package.json if you're not sure)

3.48.2

Shell

iterm2

Node version (run node -v if you're not sure)

v19.0.0

What language and version are you using in your application?

Typescript

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions