Open
Description
Environment
- Operating System: Windows_NT
- Node Version: v20.11.1
- Nuxt Version: 3.14.1592
- CLI Version: 3.15.0
- Nitro Version: 2.10.4
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Version
v3.0.0-alpha.7
Reproduction
Enable typeCheck: true
in any nuxt project with vue-tsc
Description
When enabling type checking, errors are reported in console. I have to disable typeCheck for this to pass a build.
ERROR
ERROR(vue-tsc) Cannot find module '@nuxtjs/mdc' or its corresponding type declarations.
There are types at 'C:/Dev/engage-web/node_modules/@nuxtjs/mdc/dist/module.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
FILE C:/Dev/engage-web/node_modules/@nuxt/content/dist/runtime/components/ContentRenderer.vue:4:63
2 | import { kebabCase, pascalCase } from 'scule'
3 | import { resolveComponent, toRaw, defineAsyncComponent, computed } from 'vue'
> 4 | import type { MDCComment, MDCElement, MDCRoot, MDCText } from '@nuxtjs/mdc'
| ^^^^^^^^^^^^^
5 | import htmlTags from '@nuxtjs/mdc/runtime/parser/utils/html-tags-list'
6 | import MDCRenderer from '@nuxtjs/mdc/runtime/components/MDCRenderer.vue'
7 | import { decompressTree } from '../internal/abstract-tree'
Additional context
No response