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
It seams the bug is coming from astro-i18next/src/components/index.ts
8:57:26 PM [vite] Error when evaluating SSR module /node_modules/astro/astro.js:
|- SyntaxError: Invalid or unexpected token
at new AsyncFunction (<anonymous>)
at instantiateModule (/Private/astro/node_modules/vite/dist/node/chunks/dep-24daf00c.js:54348:28)
8:57:26 PM [vite] Error when evaluating SSR module /node_modules/astro-i18next/src/components/Trans.astro: failed to import "/node_modules/astro/astro.js"
|- SyntaxError: Invalid or unexpected token
at new AsyncFunction (<anonymous>)
at instantiateModule (/Private/astro/node_modules/vite/dist/node/chunks/dep-24daf00c.js:54348:28)
8:57:26 PM [vite] Error when evaluating SSR module /node_modules/astro-i18next/src/components/index.ts: failed to import "/node_modules/astro-i18next/src/components/Trans.astro"
|- SyntaxError: Invalid or unexpected token
at new AsyncFunction (<anonymous>)
at instantiateModule (/Private/astro/node_modules/vite/dist/node/chunks/dep-24daf00c.js:54348:28)
8:57:26 PM [vite] Error when evaluating SSR module /src/layouts/Layout.astro: failed to import "/node_modules/astro-i18next/src/components/index.ts"
|- SyntaxError: Invalid or unexpected token
at new AsyncFunction (<anonymous>)
at instantiateModule (/Private/astro/node_modules/vite/dist/node/chunks/dep-24daf00c.js:54348:28)
I got the same issue and downgrading Astro doesn't seem to help. I've tried building old commits which built successfully before as well, maybe a Vite update is causing this?
Describe the bug
It seams the bug is coming from astro-i18next/src/components/index.ts
astro-i18next
version: latestastro
version: latestMy config:
The text was updated successfully, but these errors were encountered: