Skip to content

[Bug Report][4.0.4] error TS2882: Cannot find module or type declarations for side-effect import of 'vuetify/styles'. #22766

@Jisu-Woniu

Description

@Jisu-Woniu

Environment

Vuetify Version: 4.0.4
Vue Version: 3.5.31
OS: Linux

Steps to reproduce

  1. Clone the repo
  2. Run pnpm i to install frontend dependencies
  3. Run pnpm vue-tsc -b, and see the error

Expected Behavior

Type checking works without errors.

Actual Behavior

vue-tsc (and also vanilla tsc) reports:

src/main.ts:1:8 - error TS2882: Cannot find module or type declarations for side-effect import of 'vuetify/styles'.

1 import "vuetify/styles";
         ~~~~~~~~~~~~~~~~


Found 1 error.

Reproduction Link

https://github.com/Jisu-Woniu/digital-signature/tree/73b316175925b0dbf036d2efe6946cd33d92e4af

Images

Screenshot

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions