nuxt/cli

Dangling nuxi dev process

Closed this issue ยท 4 comments

Environment

  • Operating System: Linux
  • Node Version: v20.5.0
  • Nuxt Version: 3.7.1
  • CLI Version: 3.8.0
  • Nitro Version: 2.6.3
  • Package Manager: pnpm@8.7.4
  • Builder: -
  • User Config: devtools, modules, auth, runtimeConfig
  • Runtime Modules: @nuxtjs/mdc@0.1.6, @nuxt/ui@2.8.0, @sidebase/nuxt-auth@0.6.0-beta.5
  • Build Modules: -

Reproduction

not applicable

Describe the bug

Since approximately a week I have the problem, that I have a dangling node process after killing the dev server with ctrl + c.
The system monitor shows, that it is the nuxi dev process. I do not encounter this problem in any non nuxt projects. Other vite based projects are fine and close all node processes.

Does anyone encounter this issue? Is it possibly an issue with nuxt?

Additional context

No response

Logs

No response

Would you be able to provide a reproduction? ๐Ÿ™

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

๐Ÿ‘‰ https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
๐Ÿ‘‰ https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox

A public GitHub repository is also perfect. ๐Ÿ‘Œ

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

pi0 commented

This issue will be fixed in next release -- fixed in upstream listhen package to auto close process and happens only when nesting package manager commands (you can try with npx nuxi-edge@latest dev)

pi0 commented

Should be solved in 3.8.2+ versions. Let me know if still experience this to investigate.

Thank you. I updated deps and it works again ๐Ÿ‘