最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

vue.js - ShadCN-Vue installation - did not recognize object of type "TSInterfaceHeritage" - Stack Overflow

matteradmin3PV0评论

I'm trying to install ShadCN for VueJS but I'm encountering a weird error after successful installation.

I've followed each step of the installation guide under:

Terminal/Vite says everything went successfully after step number 8.

Step 9 on the docs:

When I'm trying to add a button with: npx shadcn-vue@latest add button

in order to verify that the installation worked / use the a component

I'm encountering the followin error:

Error: did not recognize object of type "TSInterfaceHeritage"

What am I doing wrong? How can I fix it?

Thanks.

I'm trying to install ShadCN for VueJS but I'm encountering a weird error after successful installation.

I've followed each step of the installation guide under: https://www.shadcn-vue/docs/installation/vite

Terminal/Vite says everything went successfully after step number 8.

Step 9 on the docs:

When I'm trying to add a button with: npx shadcn-vue@latest add button

in order to verify that the installation worked / use the a component

I'm encountering the followin error:

Error: did not recognize object of type "TSInterfaceHeritage"

What am I doing wrong? How can I fix it?

Thanks.

Share Improve this question edited Nov 16, 2024 at 15:10 user3135691 asked Nov 16, 2024 at 14:57 user3135691user3135691 18210 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

There seems to be an ongoing issue with the latest version.

As a workaround you could install using an older version of the CLI tool:

npx [email protected] add button
Post a comment

comment list (0)

  1. No comments so far