SSR breaks when using v6.13.10 or higher
See original GitHub issueVersion
nuxt-i18n: v6.13.12 (v6.13.9 works perfectly, starting from v6.13.10 I have the problem below) nuxt: v2.14.4
Nuxt configuration
mode:
- universal
- [] spa
Nuxt-i18n configuration
https://github.com/miteyema/nuxt-i18n-demo/blob/prod/nuxt.config.js
Reproduction Link
https://github.com/miteyema/nuxt-i18n-demo
Steps to reproduce
Go to https://nuxt-i18n-demo.vercel.app/sitemap.xml
What is Expected?
Should show sitemap
What is actually happening?
502: BAD_GATEWAY
FATAL Cannot find module 'vue-template-compiler'
Require stack:
- /var/task/node_modules/nuxt-i18n/src/helpers/components.js
- /var/task/node_modules/nuxt-i18n/src/helpers/routes.js
- /var/task/node_modules/nuxt-i18n/src/core/hooks.js
- /var/task/node_modules/nuxt-i18n/src/index.js
- /var/task/node_modules/@nuxt/core/dist/core.js
- /var/task/now__launcher.js- /var/runtime/UserFunction.js
- /var/runtime/index.js
Error: Cannot find module 'vue-template-compiler'
Require stack:
- node_modules/nuxt-i18n/src/helpers/components.js
- node_modules/nuxt-i18n/src/helpers/routes.js
- node_modules/nuxt-i18n/src/core/hooks.js
- node_modules/nuxt-i18n/src/index.js
- node_modules/@nuxt/core/dist/core.js
- now__launcher.js - /var/runtime/UserFunction.js
- /var/runtime/index.js at Object.<anonymous> (node_modules/nuxt-i18n/src/helpers/components.js:6:18) at Generator.next (<anonymous>)2020-09-08T01:33:23.805Z f618bd89-7fad-41c4-a5a1-270d0c8e5373 ERROR λ Error while initializing nuxt: /var/task/node_modules/nuxt-i18n/src/helpers/components.js:1Error: Cannot find module 'vue-template-compiler'Require stack:- /var/task/node_modules/nuxt-i18n/src/helpers/components.js- /var/task/node_modules/nuxt-i18n/src/helpers/routes.js- /var/task/node_modules/nuxt-i18n/src/core/hooks.js- /var/task/node_modules/nuxt-i18n/src/index.js- /var/task/node_modules/@nuxt/core/dist/core.js- /var/task/now__launcher.js- /var/runtime/UserFunction.js- /var/runtime/index.js at Object.<anonymous> (/var/task/node_modules/nuxt-i18n/src/helpers/components.js:6:18) at Generator.next (<anonymous>) { code: 'MODULE_NOT_FOUND', requireStack: [ '/var/task/node_modules/nuxt-i18n/src/helpers/components.js', '/var/task/node_modules/nuxt-i18n/src/helpers/routes.js', '/var/task/node_modules/nuxt-i18n/src/core/hooks.js', '/var/task/node_modules/nuxt-i18n/src/index.js', '/var/task/node_modules/@nuxt/core/dist/core.js', '/var/task/now__launcher.js', '/var/runtime/UserFunction.js', '/var/runtime/index.js' ]}RequestId: f618bd89-7fad-41c4-a5a1-270d0c8e5373 Error: Runtime exited with error: exit status 1Runtime.ExitError
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
SSR breaks when using v6.13.10 or higher · Issue #882 · nuxt ...
Version nuxt-i18n: v6.13.12 (v6.13.9 works perfectly, starting from v6.13.10 I have the problem below) nuxt: v2.14.4 Nuxt configuration mode: universal ...
Read more >SSR Date Formatting in Remix using the User's Locale
How I achieved consistent date formatting in Remix on both client side and server side rendered React using a LocaleProvider and Intl.DateTimeFormat.
Read more >Untitled
How do you use gregarious in a sentence, Partner starbucks spotify, Social media damaging ... Gamezer v6 coolgame mode activator, Video satellite pro...
Read more >Untitled
Record breaking snow in boston, Hillary clinton 2016 campaign manager, Rehda news! Colwyn bay pier pressure group, Different arm tattoos.
Read more >React 18 Migration | Nx
In addition to the React 18 migration, Nx will also update your workspace to React Router v6 -- assuming you use React Router...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be fixed in v6.14.2. Sorry for the trouble.
Released v6.14.0 that should fix it.