Skip to content

nuxt doctor #330

Description

@danielroe

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)
    Error: "defuFn is not a function" in 3.0.0-rc.9-xx nuxt#14768
    rc.6 to rc.7 ERROR Cannot start nuxt: nuxtCtx.tryUse is not a function  nuxt#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 workspaceDir nuxt#11074 implementation should have dealt with some of this)
  4. mismatched (or multiple) versions of vue deps
    [RC 9] [RC 10] Cannot read properties of undefined (reading 'modules') when vue is installed in parent dir nuxt#14952
  5. incorrect casing in nuxt folders (on a case-insensitive file system)
  6. Multiple installed vue versions break ComponentCustomProperties template type-checking (nuxi typecheck) #1448

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions