Build error: Could not resolve "@radix-ui/colors"
VanishMax opened this issue · comments
Hi! I am trying to set up Vocs with the steps from the documentation:
pnpm create vocs
cd vocs
pnpm i
pnpm dev
When I enter the http://localhost:5173/
, the app fails with Vite error ERROR: Could not resolve "@radix-ui/colors"
.
![image](https://private-user-images.githubusercontent.com/29180358/328886973-2020fbb1-0be1-4d88-bdba-aa64e001feda.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MzM3NzQsIm5iZiI6MTcyMTQzMzQ3NCwicGF0aCI6Ii8yOTE4MDM1OC8zMjg4ODY5NzMtMjAyMGZiYjEtMGJlMS00ZDg4LWJkYmEtYWE2NGUwMDFmZWRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDIzNTc1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyNmE1YzVlODc3NDI1ZGVjMGZhZDNkNGIyYmE0OWU3NDY2ZDcwYWUwMjNiZTY5ZDVmMGI3MzNlZGQ1NWExMGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Uy7i7CpN4nVFivCqsHI9W6iCj_mJBMgHBUg9cNZRIF8)
Supposedly, this is a packaging error, not coming from the users' side. I tried adding the .npmrc
file (contents: strict-peer-dependencies=false
and auto-install-peers=true
) but it didn't help.
I'm having the same exact issue, using yarn@1.22.22, and tried running the quickstart command wit both NPM and Yarn