Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thread '<unnamed>' panicked at 'failed to invoke plugin #33

Closed
merthanmerter opened this issue Sep 17, 2022 · 3 comments
Closed

thread '<unnamed>' panicked at 'failed to invoke plugin #33

merthanmerter opened this issue Sep 17, 2022 · 3 comments

Comments

@merthanmerter
Copy link

Hello, I have migrated to Ubuntu OS and I'm getting bellow error.

thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/media/.../node_modules/next/dist/client/dev/amp-dev.js")'

Caused by:
    0: failed to invoke `/media/.../node_modules/next-superjson-plugin/next_superjson.wasm` as js transform plugin at /media/.../node_modules/next-superjson-plugin/next_superjson.wasm
    1: RuntimeError: out of bounds memory access
           at <unnamed> (<module>[329]:0x62a25)
           at <unnamed> (<module>[355]:0x6bd6b)
           at <unnamed> (<module>[357]:0x6d15e)
           at <unnamed> (<module>[41]:0xc3fb)
           at <unnamed> (<module>[105]:0x1cf8d)
           at <unnamed> (<module>[158]:0x343b0)
           at <unnamed> (<module>[183]:0x3c8ce)
           at <unnamed> (<module>[124]:0x2332b)
           at <unnamed> (<module>[751]:0xd2250)
           at <unnamed> (<module>[750]:0xd1fe1)
           at <unnamed> (<module>[589]:0xaf798)
    2: heap_get_oob', /usr/local/cargo/registry/src/github.com-.../src/plugin.rs:216:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error Command failed with exit code 1.
@Skn0tt Skn0tt transferred this issue from blitz-js/superjson Sep 20, 2022
@Skn0tt
Copy link
Member

Skn0tt commented Sep 20, 2022

This looks related to the SWC plugin, transferred the issue. @orionmiz do you have an idea what might be causing this?

@orionmiz
Copy link
Collaborator

orionmiz commented Sep 20, 2022

@merthanmerter What is the version of Next.js & plugin?

Latest plugin only works for Next.js at least v12.3.1

@merthanmerter
Copy link
Author

@merthanmerter What is the version of Next.js & plugin?

Latest plugin only works for Next.js at least v12.3.1

Yes, I considered that and tried to upgrade to @latest but it installed 12.3.0. Now I manually add @12.3.1 and its working. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants