`nuxt doctor`

Open
#330 2 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
nuxtjs, typescript
Domain
cli

Research direction

Start by reviewing the scope of the proposed nuxt doctor command and the linked Nuxt and Nuxt CLI issues. Identify which dependency, module, monorepo, Vue version, folder-casing, and related checks are still relevant. Done means the project has an agreed diagnostic scope and a clear way to verify each reported problem.

Written by the indexing model from the issue text.

Description

discussion enhancement

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
Dominant language
TypeScript
Stars
402
Forks
125
Avg merge
2d 9h
Merged PRs (30d)
37

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nuxt/cli

All issues in nuxt/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.