-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Webpack Module parse failed: Unexpected token... with nuxt-i18n 6.15.2 #929
Comments
Experiencing the same issue. Changing to |
Seems to be related to this line because of the My babel config (which is default of new nuxt project):
|
Released https://github.com/nuxt-community/i18n-module/releases/tag/v6.15.3 with a fix although optional chaining is supposed to be transpiled by Nuxt so not sure what's the issue. I can reproduce this issue when using Node 14 but not Node 12. |
Found Nuxt bug here: nuxt/nuxt#7722 |
Version
nuxt-i18n: 6.15.2
nuxt: 2.14.6
node: v14.2.0
Nuxt configuration
mode:
package.json
Nuxt-i18n configuration
Reproduction Link
Steps to reproduce
Install nuxt-i18n with Version
6.15.2
and use it as a module. When running the project withnpm run dev
, webpack fails with this:With
6.15.1
it works, only happens with6.15.2
npx create-nuxt-app test
(I only add eslint + stylelint) everything else was default
npm run dev
What is Expected?
Webpack should build normally
What is actually happening?
Webpack fails?
The text was updated successfully, but these errors were encountered: