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
use "next": "^14.3.0-canary.61" with forceSwcTransforms: true, then compile failed.
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_ecma_compat_es2022-0.4.17/src/class_properties/mod.rs:953:21:
internal error: entered unreachable code: static_blocks pass should remove this
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Failed to compile.
./src/pages/home/util.ts
Error: failed to process
Import trace for requested module:
./src/pages/home/util.ts
./src/pages/home/index.page.tsx
Operating System:
Platform: darwin
Arch: arm64
Machine Type: arm64
Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030
CPU: (12 cores)
Models: Apple M3 Pro
Describe the bug
use "next": "^14.3.0-canary.61" with
forceSwcTransforms: true
, then compile failed.thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_ecma_compat_es2022-0.4.17/src/class_properties/mod.rs:953:21:
internal error: entered unreachable code: static_blocks pass should remove this
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceFailed to compile.
./src/pages/home/util.ts
Error: failed to process
Import trace for requested module:
./src/pages/home/util.ts
./src/pages/home/index.page.tsx
Input code
No response
Config
Playground link (or link to the minimal reproduction)
https://github.com/hahazexia/nextjs-swc-demo
SWC Info output
Operating System:
Platform: darwin
Arch: arm64
Machine Type: arm64
Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030
CPU: (12 cores)
Models: Apple M3 Pro
Expected behavior
I expect the compilation and packaging to be successful
Actual behavior
No response
Version
next: 14.3.0-canary.61
Additional context
No response
The text was updated successfully, but these errors were encountered: