#330·cli

`nuxt doctor`

Author: danielroeCreated Sep 20, 2022Updated Aug 22, 2026
Labelsenhancementdiscussion

would be handy to have a command to diagnose issues. It could include utilities to resolve package dependency issues, such as:

  1. outdated versions of unjs utils (defu, untyped) https://github.com/nuxt/nuxt.js/issues/14768 https://github.com/nuxt/nuxt.js/issues/14538
  2. nuxt 2 modules in dep list (even if not in nuxt.config) https://github.com/nuxt/nuxt.js/issues/14945
  3. monorepo hoisting issues (though https://github.com/nuxt/nuxt.js/issues/11074 implementation should have dealt with some of this)
  4. mismatched (or multiple) versions of vue deps https://github.com/nuxt/nuxt.js/issues/14952
  5. incorrect casing in nuxt folders (on a case-insensitive file system)
  6. https://github.com/nuxt/cli/issues/1448