Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxt doctor #330

Open
danielroe opened this issue Sep 20, 2022 · 2 comments
Open

nuxt doctor #330

danielroe opened this issue Sep 20, 2022 · 2 comments
Labels
discussion enhancement New feature or request

Comments

@danielroe
Copy link
Member

danielroe commented Sep 20, 2022

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)
@danielroe danielroe added enhancement New feature or request discussion labels Sep 20, 2022
@pi0
Copy link
Member

pi0 commented Sep 20, 2022

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).

@TheAlexLichter
Copy link
Member

Moving this to CLI ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants