admin管理员组

文章数量:1026989

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

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

本文标签: vuejsShadCNVue installationdid not recognize object of type quotTSInterfaceHeritagequotStack Overflow