Skip to content
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

Vue app aliases are not allowed in server runtime #3111

Open
kaaax0815 opened this issue Sep 19, 2024 · 0 comments
Open

Vue app aliases are not allowed in server runtime #3111

kaaax0815 opened this issue Sep 19, 2024 · 0 comments

Comments

@kaaax0815
Copy link

kaaax0815 commented Sep 19, 2024

Environment

Reproduction

https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-e2l8kn

Describe the bug

See logs

Additional context

No response

Logs

ERROR  Vue app aliases are not allowed in server runtime. [importing #build/i18n.options.mjs from node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@nuxtjs/i18n/dist/runtime/composables/index.js]                          10:09:25 AM


 ERROR  Error: Could not load /Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1 (imported by .nuxt/i18n.options.mjs): ENOENT: no such file or directory, open '/Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1'      nitro 10:09:27 AM


undefined


 ERROR  Could not load /Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1 (imported by .nuxt/i18n.options.mjs): ENOENT: no such file or directory, open '/Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1'                   10:09:27 AM

  at async open (node:internal/fs/promises:639:25)
  at async readFile (node:internal/fs/promises:1249:14)
  at async node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19003:24
  at async Queue.work (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20028:32) 



 ERROR  Could not load /Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1 (imported by .nuxt/i18n.options.mjs): ENOENT: no such file or directory, open '/Users/berndstorath/Documents/wg-easy/src/i18n.config.ts?hash=bffaebcb&config=1'

When updating all packages

[nitro 10:37:39 AM]  ERROR  RollupError: [plugin impound] Vue app aliases are not allowed in server runtime. [importing #build/i18n.options.mjs from node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@nuxtjs/i18n/dist/runtime/composables/index.js]


undefined


 ERROR  [plugin impound] Vue app aliases are not allowed in server runtime. [importing #build/i18n.options.mjs from node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@nuxtjs/i18n/dist/runtime/composables/index.js]          10:37:39 AM

  at getRollupError (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
  at error (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
  at Object.error (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19743:20)
  at Object.resolveId (node_modules/.pnpm/[email protected][email protected]/node_modules/impound/dist/index.js:29:11)
  at node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19928:40
  at async PluginDriver.hookFirstAndGetPlugin (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19828:28)
  at async resolveId (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18519:26)
  at async ModuleLoader.resolveId (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18922:15)
  at async Object.resolveId (node_modules/.pnpm/@[email protected][email protected]/node_modules/@rollup/plugin-commonjs/dist/es/index.js:588:10) 



 ERROR  [plugin impound] Vue app aliases are not allowed in server runtime. [importing #build/i18n.options.mjs from node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@nuxtjs/i18n/dist/runtime/composables/index.js] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant