Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Bug(nextjs): dev mode breaks after update to 0.0.8 #16

Closed
domosedov opened this issue Dec 27, 2022 · 5 comments
Closed

Bug(nextjs): dev mode breaks after update to 0.0.8 #16

domosedov opened this issue Dec 27, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@domosedov
Copy link

update plugin 0.0.7 -> 0.0.8
https://github.com/domosedov/nextjs_effector_swc_plugin

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /Users/k.mironov/.cargo/registry/src/github.com-1ecc6299db9ec823/rkyv-0.7.37/src/impls/core/mod.rs:265:36
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/Users/domosedov/Dev/sandbox/nextjs_effector_swc_plugin/node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/client/dev/amp-dev.js")'

...long stacktrace
@Drevoed
Copy link
Collaborator

Drevoed commented Jan 13, 2023

Here's an issue that you can upvote on an upstream: swc-project/swc#6807.

Our hands are tied by SWC for now.

@sergeysova sergeysova added the bug Something isn't working label Jan 13, 2023
@Drevoed
Copy link
Collaborator

Drevoed commented Jan 24, 2023

Should be fixed by #26.

Can you please try it out?

@domosedov
Copy link
Author

Should be fixed by #26.

Can you please try it out?

Works with latest version Next.js

"next": "13.1.4"
"@effector/swc-plugin": "0.0.9"

@domosedov
Copy link
Author

Снимок экрана 2023-01-24 в 10 35 15

@Drevoed
Copy link
Collaborator

Drevoed commented Jan 24, 2023

Yeah, sids fix is planned for next release and tracked in another issue #11 .

@Drevoed Drevoed closed this as completed Jan 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants