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

[Bug Report][3.5.2] Duplicate identifier 'ComponentPublicInstance'. #19177

Closed
idefixcert opened this issue Feb 6, 2024 · 3 comments
Closed
Assignees
Labels
framework Issues and Feature Requests that have needs framework-wide. T: bug Functionality that does not work as intended/expected typescript
Milestone

Comments

@idefixcert
Copy link

Environment

Vuetify Version: 3.5.2
Vue Version: 3.4.15
Browsers: Chrome 121.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

npm install
npm run build

Expected Behavior

build correct

Actual Behavior

throws a lot of errors
eg:
node_modules/vuetify/lib/index.d.mts:479:15 - error TS2300: Duplicate identifier 'ComponentPublicInstance'.

Reproduction Link

https://github.com/idefixcert/vuetify_error

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected framework Issues and Feature Requests that have needs framework-wide. typescript labels Feb 6, 2024
@KaelWD KaelWD self-assigned this Feb 6, 2024
@github-actions github-actions bot removed the S: triage label Feb 6, 2024
@heziegl
Copy link

heziegl commented Feb 6, 2024

getting the same error(s) after updating from 3.4.11 to 3.5.2:

node_modules/vuetify/lib/index.d.mts:2:29 - error TS2300: Duplicate identifier 'ComponentPublicInstance'.
2 import { Ref, DeepReadonly, ComponentPublicInstance, JSXComponent, PropType, CSSProperties, App } from 'vue';
~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vuetify/lib/index.d.mts:479:15 - error TS2300: Duplicate identifier 'ComponentPublicInstance'.
479 import type { ComponentPublicInstance, FunctionalComponent, UnwrapNestedRefs, VNodeChild } from 'vue'
~~~~~~~~~~~~~~~~~~~~~~~

@zwx00
Copy link

zwx00 commented Feb 15, 2024

This is very annoying, had this for a while and haven't been able to update vuetify and access the new features :(

@jacstrong
Copy link

jacstrong commented Mar 1, 2024

Having the same issue with Vuetify 3.5.1, vite-plugin-vuetify 1.0.2, and vite 4.2.5

Edit: Just updated to vuetify 3.5.6 and issue still exists.

@KaelWD KaelWD added this to the v3.5.x milestone Mar 4, 2024
@KaelWD KaelWD closed this as completed in e3c513b Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework Issues and Feature Requests that have needs framework-wide. T: bug Functionality that does not work as intended/expected typescript
Projects
None yet
Development

No branches or pull requests

5 participants