unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.89k stars 280 forks source link

[Bug]: Calendar component throwing peer dependency error. #142

Closed TechAkayy closed 11 months ago

TechAkayy commented 12 months ago

Environment

Developement/Production OS: macOS Monterey v12.6.1
Node version: 21.1.0
Package manager: npm 10.2.0
Radix Vue version: Not sure, where to find this info? Even package-lock.json didn't have this info
Shadcn Vue version: Not sure, where to find this info? Even package-lock.json didn't have this info
Vue version: 3.3.7
Astro version: 3.4.0
CSS framework: tailwindcss@3.3.5
Browser: n/a

Link to minimal reproduction

https://github.com/TechAkayy/astro-shadcn-vue-calendar-issue

Steps to reproduce

Describe the bug

Getting some peer dependency (vue2) error. Unable to install the calendar component.

image

Expected behavior

Able to install calendar component.

Conext & Screenshots (if applicable)

No response

sadeghbarati commented 12 months ago

v-calendar latest tag is 2.4.2 and CLI tries to install v2.4.2

For now, use

npm install v-calendar@next

or

npm install v-calendar@3.1.2