You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the type-check process (nr type-check), multiple TypeScript errors were encountered in the @nuxt/ui components. The main categories of errors are: this issue have been highlighted on nuxt/ui#2560 too
1. Missing Module Declarations
Several imports cannot find their corresponding type declarations:
#build/app.config
#imports
#build/ui-image-component
This appears consistently across multiple components including Accordion, Alert, Avatar, and others.
2. Missing DOM Type Definitions
Multiple components are missing basic DOM type definitions:
MouseEvent
KeyboardEvent
HTMLElement
HTMLDivElement
HTMLInputElement
FocusEvent
PointerEvent
Steps to Reproduce
Run nr type-check
Observe the TypeScript compilation errors
Stack Trace:
nr
✔ script to run › type-check
node_modules/@nuxt/ui/dist/runtime/components/Accordion.vue:5:24 - error TS2307: Cannot find module '#build/app.config' or its corresponding type declarations.
5 import _appConfig from '#build/app.config'~~~~~~~~~~~~~~~~~~~
node_modules/@nuxt/ui/dist/runtime/components/Accordion.vue:94:30 - error TS2307: Cannot find module '#imports' or its corresponding type declarations.
94 import { useAppConfig } from '#imports'~~~~~~~~~~
node_modules/@nuxt/ui/dist/runtime/components/Alert.vue:4:24 - error TS2307: Cannot find module '#build/app.config' or its corresponding type declarations.
4 import _appConfig from '#build/app.config'~~~~~~~~~~~~~~~~~~~
node_modules/@nuxt/ui/dist/runtime/components/Alert.vue:68:30 - error TS2307: Cannot find module '#imports' or its corresponding type declarations.
68 import { useAppConfig } from '#imports'~~~~~~~~~~
node_modules/@nuxt/ui/dist/runtime/components/Avatar.vue:6:24 - error TS2307: Cannot find module '#build/app.config' or its corresponding type declarations.
6 import _appConfig from '#build/app.config'~~~~~~~~~~~~~~~~~~~
etc...
The text was updated successfully, but these errors were encountered:
Description
During the type-check process (
nr type-check
), multiple TypeScript errors were encountered in the @nuxt/ui components. The main categories of errors are: this issue have been highlighted on nuxt/ui#2560 too1. Missing Module Declarations
Several imports cannot find their corresponding type declarations:
#build/app.config
#imports
#build/ui-image-component
This appears consistently across multiple components including Accordion, Alert, Avatar, and others.
2. Missing DOM Type Definitions
Multiple components are missing basic DOM type definitions:
MouseEvent
KeyboardEvent
HTMLElement
HTMLDivElement
HTMLInputElement
FocusEvent
PointerEvent
Steps to Reproduce
nr type-check
Stack Trace:
The text was updated successfully, but these errors were encountered: