franken-ui / ui

Franken UI is an HTML-first, open-source library of UI components that works as a standalone or as a Tailwind CSS plugin. It is compatible with UIkit 3. The design is influenced by shadcn/ui.
https://franken-ui.dev
MIT License
1.54k stars 19 forks source link

npm error Cannot read properties of null (reading 'matches') #17

Open kuntal-c opened 1 month ago

kuntal-c commented 1 month ago

npm i tailwindcss postcss franken-ui && npx franken-ui init -p

npm error Cannot read properties of null (reading 'matches')

sveltecult commented 1 month ago

Hello @kuntal-c

What is your setup? Like, what framework are you using, or are you using Vite? I just run it and it works just fine. Please be more specific so I can help you.

Here's a short demo I posted a while back https://x.com/sveltecult/status/1810776685392142691 it still works. You can also try CDN and upgrade to proper build later on your development.