swc: Plugin fails on arm processor

Versions:

"@swc/plugin-styled-components": "1.5.59",
"@swc/core": "1.3.49"

Error:

Caused by:
    0: failed to invoke `/Users/difuks/WebstormProjects/kiosk/src/frontend/node_modules/@swc/plugin-styled-components/swc_plugin_styled_components.wasm` as js transform plugin at /Users/difuks/WebstormProjects/kiosk/src/frontend/node_modules/@swc/plugin-styled-components/swc_plugin_styled_components.wasm
    1: RuntimeError: out of bounds memory access
    2: heap_get_oob

With versions:

"@swc/plugin-styled-components": "1.5.36",
"@swc/core": "1.3.37"

Works fine

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 7
  • Comments: 21 (7 by maintainers)

Most upvoted comments

The same is happening with @swc/plugin-emotion.

@Codex- Thanks. I did use ncu -u to update all the deps already before posting the message on GitHub but somehow it missed the latest version