Open sopranopillow opened 4 months ago
This is my log:
Next.js 14.1.3
- Local: http://localhost:3000
- Experiments (use at your own risk):
· swcPlugins
✓ Ready in 3.6s
○ Compiling /not-found ...
✓ Compiled /not-found in 10.1s (2129 modules)
createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component
at eval (webpack-internal:///(rsc)/./node_modules/@griffel/react/RendererContext.esm.js:18:73)
at (rsc)/./node_modules/@griffel/react/RendererContext.esm.js (E:\nextjsfluent\.next\server\vendor-chunks\@griffel.js:840:1)
at __webpack_require__ (E:\nextjsfluent\.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./node_modules/@griffel/react/makeStyles.esm.js:7:81)
at (rsc)/./node_modules/@griffel/react/makeStyles.esm.js (E:\nextjsfluent\.next\server\vendor-chunks\@griffel.js:940:1)
at __webpack_require__ (E:\nextjsfluent\.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./node_modules/@griffel/react/index.esm.js:21:76)
at (rsc)/./node_modules/@griffel/react/index.esm.js (E:\nextjsfluent\.next\server\vendor-chunks\@griffel.js:900:1)
at __webpack_require__ (E:\nextjsfluent\.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./node_modules/@fluentui/react-components/lib-commonjs/index.js:2561:16)
at (rsc)/./node_modules/@fluentui/react-components/lib-commonjs/index.js (E:\nextjsfluent\.next\server\vendor-chunks\@fluentui.js:2830:1)
at __webpack_require__ (E:\nextjsfluent\.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./src/app/layout.tsx:11:84)
at (rsc)/./src/app/layout.tsx (E:\nextjsfluent\.next\server\app\page.js:194:1)
at Function.__webpack_require__ (E:\nextjsfluent\.next\server\webpack-runtime.js:33:42)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:540:9)
at process.processTimers (node:internal/timers:514:7)
at async eB (E:\nextjsfluent\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:402484)
at async tt (E:\nextjsfluent\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:406237)
at async tr (E:\nextjsfluent\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:406787)
at async tl (E:\nextjsfluent\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2057)
at async E:\nextjsfluent\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2596 {
digest: '3771978084'
}
⨯ node_modules\@griffel\react\RendererContext.esm.js (8:37) @ eval
This is my next.config.mjs:
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
swcPlugins: [
["fluentui-next-appdir-directive",{
paths: [
"@griffel",
"@fluentui"
]
}],
],
},
};
export default nextConfig;
This is my layout.tsx:
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { FluentProvider, teamsDarkTheme } from "@fluentui/react-components";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<FluentProvider theme={teamsDarkTheme}>
<html lang='en'>
<body className={inter.className}>{children}</body>
</html>
</FluentProvider>
);
}
Node version: 20.11.1 Next version: 14.1.3 FluentUI Version: 9.46.8
Regarding https://github.com/microsoft/fluentui/issues/30766#issuecomment-1997093774: It does not work even with the guide from the official FluentUI documentation. Same error.
I'm experiencing the same issues on Next@^14.1.2. Downgrading Next to 14.1.1 seems to solve the issue.
I did a fresh install with Next.js 14.2.1 and got an error like this :
thread 'thread 'thread '<unnamed><unnamed><unnamed>' panicked at ' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:::266266::2666767:
:called `Result::unwrap()` on an `Err` value: LayoutError:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rsthread '' panicked at failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_app.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:166:14/Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_error.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_document.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread 'thread '<unnamed>' panicked at <unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs::266:26667::
67:
called `Result::unwrap()` on an `Err` value: LayoutErrorcalled `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/parallel-route-default.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-error.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/error-boundary.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>thread '' panicked at <unnamed>thread '/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs' panicked at <unnamed>:266:' panicked at 67/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rsthread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/layout-router.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:
::called `Result::unwrap()` on an `Err` value: LayoutError266266:
67:
:note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
67called `Result::unwrap()` on an `Err` value: LayoutError:
called `Result::unwrap()` on an `Err` value: LayoutErrornote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/search-params.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread 'thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
<unnamed>thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/hooks-server-context.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266thread ':67<unnamed>:
' panicked at called `Result::unwrap()` on an `Err` value: LayoutError/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:
266note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-boundary.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/render-from-template-context.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-bailout.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/src/app/providers.tsx")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread 'thread '<unnamed><unnamed>' panicked at thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:' panicked at 14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/isomorphic/path.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: out of bounds memory access
:/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs266::67266:
:called `Result::unwrap()` on an `Err` value: LayoutError67
:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/hash.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at thread '/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs<unnamed>' panicked at :/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs266:67::
called `Result::unwrap()` on an `Err` value: LayoutError266:
67note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/route-regex.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/app-paths.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread 'thread '<unnamed><unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rsthread '' panicked at thread ':/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs<unnamed>266:<unnamed>' panicked at :266/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs' panicked at 67:/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:
::67266called `Result::unwrap()` on an `Err` value: LayoutError266:
::note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
called `Result::unwrap()` on an `Err` value: LayoutError6767
:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:
called `Result::unwrap()` on an `Err` value: LayoutErrorcalled `Result::unwrap()` on an `Err` value: LayoutError
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/path-match.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/route-matcher.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67:
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread 'thread '<unnamed><unnamed>' panicked at ' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs::266266::67:
67called `Result::unwrap()` on an `Err` value: LayoutError:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
called `Result::unwrap()` on an `Err` value: LayoutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/get-hostname.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '<unnamed>thread '<unnamed>' panicked at /home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs' panicked at :/home/estebanmu-dev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266266::67:
67:
called `Result::unwrap()` on an `Err` value: LayoutError
called `Result::unwrap()` on an `Err` value: LayoutErrornote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
thread '' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.24/src/plugin.rs:166:14:
failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
Failed to compile.
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_app.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_app.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_document.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_document.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_error.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_error.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
Import trace for requested module:
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/pages/_error.js
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
Import trace for requested module:
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/entry-base.js
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("./lab/fluentui-appdir/node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js")'
Caused by:
0: failed to invoke `./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at ./lab/fluentui-appdir/node_modules/.pnpm/fluentui-next-appdir-directive@0.1.5/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-corefor compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
2: RuntimeError: unreachable
Import trace for requested module:
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js
./node_modules/.pnpm/next@14.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/entry-base.js
I'm experiencing the same issues on Next@^14.1.2. Downgrading Next to 14.1.1 seems to solve the issue.
Downgrading to version 14.1.1 solved the issue for me.
Are here any updates about this topic. I have the same error. I opened a issue in the fluentui-nexjs-appdir-plugin repo:
https://github.com/sopranopillow/fluentui-nextjs-appdir-plugin/issues/1
I have the same error with next 14.2.3
I'm experiencing the same issues on Next@^14.1.2. Downgrading Next to 14.1.1 seems to solve the issue.
I had a completely fresh install which went to a higher version and then downgraded to that exact version and it's still telling me the same thing. I'd appreciate any advice if you'd be so kind?
Currently looking at what the issue is. Seems like there's an out of bounds memory access though the error is not very helpful
also worth noting that in rust this works correctly, once used in NextJS it's when it breaks
This workaround (https://stackoverflow.com/a/76181667) worked for me. (Even though the link is not directly related to Fluent, the issue is pretty much the same.)
This workaround (https://stackoverflow.com/a/76181667) worked for me. (Even though the link is not directly related to Fluent, the issue is pretty much the same.)
This is bascially what the plugin does :) . I'll try to get a fix in by this week and hopefully the example as well.
Sorry for the long delay folks.
One thing to note is that 14.1.1
and below do work, so if you downgrade and are still having issues make sure you delete your .next
folder in root.
FYI, plugin has been fixed! will keep this open to track the stackblitz with an example template
@sopranopillow seem to be running into an issue with the Menu component where the MenuPopover
doesn't show up. I don't know if this is isolated to the Menu
and it's related components or if it's across other components. I've attached my component making use of the Menu
component below
"use client"
export default function UserSettingsMenu() {
return (
<Menu>
<MenuTrigger>
<Avatar size={48} name="Ryan Kuruppu" />
</MenuTrigger>
<MenuPopover>
<MenuList>
<MenuGroup>
<MenuGroupHeader>Theme</MenuGroupHeader>
<MenuItem
icon={
theme.name === "dark" ? (
<WeatherMoonFilled />
) : (
<WeatherMoonOffRegular />
)
}
>
Dark
</MenuItem>
<MenuItem
icon={
theme.name === "light" ? (
<WeatherSunnyFilled />
) : (
<WeatherSunnyRegular />
)
}
>
Light
</MenuItem>
</MenuGroup>
<MenuGroup>
<MenuGroupHeader>Account Information</MenuGroupHeader>
<MenuItem icon={<SettingsRegular />}>Settings</MenuItem>
<MenuItem icon={<SignOutRegular />}>Sign Out</MenuItem>
</MenuGroup>
</MenuList>
</MenuPopover>
</Menu>
);
}
I currently have the below setup.
But it seems to work when downgrading to next@14.1.1
and removing the fluentui-next-appdir-directive
from the swcPlugins
experimental: {
swcPlugins: [
- ["fluentui-next-appdir-directive", { paths: ["@griffel", "@fluentui"] }]
]
}
And I'm not sure if this will help but if I try to add the above line with next@14.1.1
I get the following error
thread '<unnamed>' panicked at /Users/geist/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.270.18/src/plugin.rs:162:14:
failed to invoke plugin: failed to invoke plugin on 'Some("/Users/ryankuruppu/Documents/LiveArena/PoC/admin-panel-poc/node_modules/next/dist/server/app-render/entry-base.js")'
Caused by:
0: failed to invoke `/Users/ryankuruppu/Documents/LiveArena/PoC/admin-panel-poc/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm` as js transform plugin at /Users/ryankuruppu/Documents/LiveArena/PoC/admin-panel-poc/node_modules/fluentui-next-appdir-directive/target/wasm32-wasi/release/fluentui_next_appdir_directive.wasm
1: RuntimeError: out of bounds memory access
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at library/core/src/panicking.rs:144:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
@AiSirachcha21 for 14.1.1 and below please use version 1.0.5 of the plugin. I'll add a comment to the repo to mention this :)
@AiSirachcha21 for 14.1.1 and below please use version 1.0.5 of the plugin. I'll add a comment to the repo to mention this :)
That's great. But I had to go back to this due to the first issue which was the issue with my Menu component.
That was running the latest version of NextJS, v14.2.3
The popover just stopped working.
Investigate https://github.com/microsoft/fluentui/issues/29361#issuecomment-1992568164