Skip to content

nuxt doctor #330

Open

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

  1. pi0 commented on Sep 20, 2022

    @pi0
    Member

    I had been working on nuxt audit module previously (trying to find the code). It might be good idea to be developed as an ad-hoc module. It was mainly purposed for generic audit (not dependency related issues). Dependency related issues should be handled with nuxi upgrade IMO (and nuxi install maybe sometime later).

  2. transferred this issue fromnuxt/frameworkon Jan 19, 2023
  3. TheAlexLichter commented on Jan 22, 2024

    @TheAlexLichter
    Member

    Moving this to CLI ☺️

  4. transferred this issue fromnuxt/nuxton Jan 22, 2024
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