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

Could not resolve entry module "node_modules/nitropack/dist/presets/node/runtime/node-cluster" #2840

Closed
ElYaiko opened this issue Nov 2, 2024 · 1 comment

Comments

@ElYaiko
Copy link

ElYaiko commented Nov 2, 2024

Environment


  • Operating System: Linux
  • Node Version: v20.15.1
  • Nuxt Version: 3.13.2
  • CLI Version: 3.15.0
  • Nitro Version: 2.10.0
  • Package Manager: bun@1.1.34
  • Builder: -
  • User Config: default

Reproduction

Describe the bug

I'm trying to build my Nuxt project with preset 'node-cluster'.
It used to work, but now I'm getting the next error:

 Could not resolve entry module "node_modules/nitropack/dist/presets/node/runtime/node-cluster".

  at getRollupError (node_modules/rollup/dist/es/shared/parseAst.js:395:41)
  at error (node_modules/rollup/dist/es/shared/parseAst.js:391:42)
  at ModuleLoader.loadEntryModule (node_modules/rollup/dist/es/shared/node-entry.js:20057:20)
  at async Promise.all (index 0)

(I also can't find the file in the repo but https://github.com/nitrojs/nitro/blob/v2/src/presets/node/runtime/cluster.ts)

Additional context

No response

Logs

No response

@pi0
Copy link
Member

pi0 commented Nov 2, 2024

Thanks for report. will be fixed in next patch (and nightly channel shortly)

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

2 participants