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

[nuxt] [request error] [unhandled] [500] Cannot find module '.output/server/node_modules/vue/server-renderer/index.mjs' imported from .output/server/chunks/handlers/renderer.mjs #9

Open
dellumdeus opened this issue Jan 10, 2024 · 1 comment

Comments

@dellumdeus
Copy link

I am using Nuxt version ^3.7.3 with SSR and really like and appreciate your module, since it works so smooth and doesn't exist anywhere else. It runs perfectly fine using nuxt dev, however after the project is built (nuxt build), I am getting this 500 error:

[nuxt] [request error] [unhandled] [500] Cannot find module '/<PATH_TO_PROJECT>/.output/server/node_modules/vue/server-renderer/index.mjs' imported from /<PATH_TO_PROJECT>/.output/server/chunks/handlers/renderer.mjs
  at new NodeError (node:internal/errors:405:5)  
  at finalizeResolution (node:internal/modules/esm/resolve:327:11)  
  at moduleResolve (node:internal/modules/esm/resolve:946:10)  
  at defaultResolve (node:internal/modules/esm/resolve:1132:11)  
  at nextResolve (node:internal/modules/esm/loader:163:28)  
  at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)  
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)  
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)  
  at link (node:internal/modules/esm/module_job:76:36)

Do you have an idea, what the issue could be and how to solve it?

I have already tried the following approaches:

  • Using the Vue package and including it as a plugin.
  • Using it inside a <ClientOnly> component.

Thank you!🙂🙏

@Applelo
Copy link
Owner

Applelo commented Jan 10, 2024

Hi, happy to hear this module is still used. It is quit old now and will be soon deprecated by my new library Compotes.
I didn't have problem with Nuxt 3.7 for a client project 🤔 Can you provide a reproduction ? Are you sure it is related to ZoomAvant ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants