Skip to content

Typecheck (vue-tsc) errors on all that is auto importedย #28869

Open
@TimGuendel

Description

Environment


  • Operating System: Darwin
  • Node Version: v22.8.0
  • Nuxt Version: 3.12.4
  • CLI Version: 3.13.1
  • Nitro Version: 2.9.7
  • Package Manager: pnpm@9.9.0
  • Builder: -
  • User Config: telemetry, experimental, components, nitro, imports, vite, css, devtools, debug, modules, pinia, postcss, cookieControl, runtimeConfig, compatibilityDate
  • Runtime Modules: @vueuse/nuxt@10.11.1, @pinia/nuxt@0.5.4, @pinia-plugin-persistedstate/nuxt@1.2.1, nuxt-jsonld@2.0.8, @nuxt/image@1.7.0, @zadigetvoltaire/nuxt-gtm@0.0.13, @dargmuesli/nuxt-cookie-control@8.4.10, @nuxt/test-utils/module@3.14.1, @nuxt/eslint@0.4.0, @vee-validate/nuxt@4.13.2
  • Build Modules: -

Reproduction

Cannot reproduce.

Describe the bug

I switched from yarn to pnpm and now I am getting errors when running typecheck (vue-tsc) - it looks like every auto imported item is throwing the same error, example:

Property 'ROUTES' does not exist on type 'CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>

I have hunderds of the same kind...Any ideas?

Additional context

No response

Logs

> nuxi typecheck

โ„น Using yup with vee-validate                                                                                                                                                                2:45:41 PM
app.vue:5:18 - error TS2339: Property 'SELECTORS' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { isEEA: typeof isEEA; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.

[...]

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions