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

[nuxtjs:i18n-resource-dynamic] Plugin error - Unable to get file name for unknown file "xxxxxxx" #2077

Closed
valicsek opened this issue May 15, 2023 · 2 comments

Comments

@valicsek
Copy link

valicsek commented May 15, 2023

Environment

  • Operating System: Windows_NT
  • Node Version: v18.15.0
  • Nuxt Version: 3.4.3
  • Nitro Version: 2.3.3
  • Package Manager: [email protected]
  • Builder: vite
  • Runtime Modules: @nuxtjs/[email protected]

Reproduction

https://stackblitz.com/edit/github-nbjqyt

Describe the bug

After set ssr:false in nuxt.config.ts and run nuxt build, i get the following error:
Plugin error - Unable to get file name for unknown file "a4bd1ac8".

Additional context

No response

Logs

ERROR  Plugin error - Unable to get file name for unknown file "a4bd1ac8".                                                                                                     
  at error (node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
  at FileEmitter.getFileName (node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:24103:24)
  at /node_modules/@nuxtjs/i18n/dist/module.mjs:1216:50
  at Array.reduce (<anonymous>)
  at Object.generateBundle (node_modules/@nuxtjs/i18n/dist/module.mjs:1215:44)
  at /node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:24526:40
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@gbyesiltas
Copy link

gbyesiltas commented May 15, 2023

I have the same error ✋
operating system: macos
ssr: false
@nuxtjs/i18n: 8.0.0-beta.12-28065601.76e2626
nuxt: 3.4.2
node: 18.14.0
npm: 8.19.3

Copy link
Collaborator

kazupon commented May 16, 2023

Thank you for your reporting!
duplicate issue as #2029, so close

@kazupon kazupon closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2023
@kazupon kazupon removed the pending triage label May 16, 2023 — with Volta.net
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

3 participants