intlify / nuxt3

Nuxt 3 Module for vue-i18n-next
MIT License
202 stars 19 forks source link

SSR not works #23

Closed kozderka closed 2 years ago

kozderka commented 2 years ago

Hi, i have installed "@intlify/nuxt3": "^0.1.8" and "nuxt3": "latest". When i build app with NITRO_PRESET=server npx nuxt build and run it with node .output/server/index.mjs, i get error in browser and app is not work.

Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.getOwnPropertyDescriptor () at entry-980309c8.mjs:25 at Array.forEach () at am (entry-980309c8.mjs:25) at Object.install (entry-980309c8.mjs:25) at Object.use (entry-980309c8.mjs:1) at entry-980309c8.mjs:25 at async hf (entry-980309c8.mjs:1) at async uf (entry-980309c8.mjs:1) at async va (entry-980309c8.mjs:25)

The app is here https://github.com/kozderka/nuxt3-test

Thanks Michal