-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
After adding "@intlify/nuxt3"
to buildModules
in nuxt.config.ts
there's a Nuxt error
#63
Comments
Hey @PiotrekPKP! Are you using Nuxt3 rc2? Thanks! |
Seems like it's related to #64 |
Yes, I'm using Nuxt 3 RC 2 EDIT: It's also broken on RC 3 which came out today |
As this issue is the last one that's open. Overriding the following packages in package.json will temporarily fix it by forcing rc-1 to be used "overrides": {
"nuxi": "3.0.0-rc.1",
"nuxt": "3.0.0-rc.1",
"@nuxt/kit": "3.0.0-rc.1",
"@nuxt/schema": "3.0.0-rc.1",
"@nuxt/vite-builder": "3.0.0-rc.1"
} |
I've created a PR #65 as per @exreplay's findings: #64 (comment) The patch has been found to work with RC.3 |
Merged for v0.2.2 |
invalid |
Same issue. Do you have an idea? THX npm install --save-dev @intlify/nuxt3 nuxt.config.ts error: "devDependencies": { |
@androcado Try adding @intlify/nuxt3 to modules, not buildModules in the nuxt config. |
Thanks. But same issue: export default defineNuxtConfig({ error: |
Odd, because I can't reproduce it |
Thank you for your quick support: npx nuxi init nuxt-app // nuxt.config.ts npm run dev // localhost: 3000 -> Uncaught SyntaxError: The requested module '/_nuxt/.nuxt/intlify.vuei18n.options.mjs' does not provide an export named 'default' (at plugin.mjs:3:8) package.json npm -v // 6.14.11 |
@androcado What does your package-lock.json look like? I've recreated the application using your exact specification, albeit on MacOS Would you mind sharing your package-lock please? EDIT: Confirmed on Windows using Node v14.16.0 and NPM 6.14.11 |
Here is the package lock file. thx for the support |
I am getting the same error, is there any fix/solutuion ? |
@kkurt @androcado do you guys have the same problem with a fresh project just using the I'm having multiple projects running on |
is this on Mac or linux by chance? |
Yes i have still same issue. Stackblitz link : https://stackblitz.com/edit/nuxt-starter-va5flv |
@kkurt What version of node and NPM are you running? My tests also failed when running on Windows. MacOS and Linux work fine (for me) |
I also tried with yarn. NodeJS : 16.15.1 |
Thanks, with the last update it works for me. |
For nuxt3 i18 from community |
I installed
"@intlify/nuxt3"
and added it to mybuildModules
.After adding
"@intlify/nuxt3"
tobuildModules
innuxt.config.ts
there's a Nuxt error:The error occurs even after reinstallation of package and after removing
.nuxt
directory.Stacktrace:
The line that shows an error is this one:
This line is in a code block:
The text was updated successfully, but these errors were encountered: