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

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

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745655791a4638534.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信