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
Using Stackblitz: Go to Stackblitz, check out the feat/add-i18n-module branch, install dependencies, and try to build.
Using local environment:
git clone https://github.com/geforseN/nuxt-rspack-starter
cd nuxt-rspack-starter
git checkout feat/add-i18n-module
pnpm i
pnpm build
Describe the bug
Issue: Build fails when using @nuxtjs/i18n with Rspack builder in Nuxt 3.14
Description
Nuxt 3.14 introduced Rspack builder. I forked the suggested starter project and added the @nuxtjs/i18n package. Running the build script results in the following error:
ERROR Nuxt Build Error: Nuxt build error
× Module build failed:
╰─▶ × Reading from "virtual:nuxt-i18n-logger" is not handled by plugins (Unhandled scheme).
│ Rspack supports "data:" and "file:" URIs by default.
│ You may need an additional plugin to handle "virtual:" URIs.
I tried to resolve the issue by adjusting the import path in import { createLogger } from "virtual:nuxt-i18n-logger";, but this did not fix the problem. I’d be happy to assist in any way I can to help resolve this issue.
Environment
Reproduction
Using Stackblitz: Go to Stackblitz, check out the
feat/add-i18n-module
branch, install dependencies, and try to build.Using local environment:
git clone https://github.com/geforseN/nuxt-rspack-starter cd nuxt-rspack-starter git checkout feat/add-i18n-module pnpm i pnpm build
Describe the bug
Issue: Build fails when using
@nuxtjs/i18n
with Rspack builder in Nuxt 3.14Description
Nuxt 3.14 introduced Rspack builder. I forked the suggested starter project and added the
@nuxtjs/i18n
package. Running thebuild
script results in the following error:I tried to resolve the issue by adjusting the import path in
import { createLogger } from "virtual:nuxt-i18n-logger";
, but this did not fix the problem. I’d be happy to assist in any way I can to help resolve this issue.Additional context
nuxt/nuxt#29165
nuxt/nuxt#29142
The text was updated successfully, but these errors were encountered: