Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Electron vite init #5005

Open
2 tasks done
mrafieefard opened this issue Sep 29, 2024 · 1 comment
Open
2 tasks done

[bug]: Electron vite init #5005

mrafieefard opened this issue Sep 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mrafieefard
Copy link

Describe the bug

I'm trying to install shadcn on electron vite but when I use bunx --bun shadcn@latest init I get Verifying framework error

✔ Preflight checks.
✖ Verifying framework.

We could not detect a supported framework at I:\Nodejs\test-app2.
Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.

I know there are other module for electron, vite and shadcn but I want to use officials

When I use shadcn cli 0.8.0 I can install successful but not for latest version

Affected component/components

None

How to reproduce

  1. init electron vite project
  2. install tailwind
  3. try to init shadcn using bunx

Codesandbox/StackBlitz link

No response

Logs

✔ Preflight checks.
✖ Verifying framework.

We could not detect a supported framework at I:\Nodejs\test-app2.
Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.

System Info

Windows 10

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@mrafieefard mrafieefard added the bug Something isn't working label Sep 29, 2024
@mrafieefard
Copy link
Author

electron.vite.config.ts is part of electron vite package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant