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]: CLI cannot detect electron.vite.config.ts #4885

Open
2 tasks done
JinJieBeWater opened this issue Sep 17, 2024 · 0 comments
Open
2 tasks done

[bug]: CLI cannot detect electron.vite.config.ts #4885

JinJieBeWater opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JinJieBeWater
Copy link

JinJieBeWater commented Sep 17, 2024

Describe the bug

I use electron-vite framework to develop electron application, and the generated vite configuration file is named election.vite.config.ts, which leads to the following error could not detect a supported framework

I guess this is a logical judgment problem of cli when detecting the framework, because I found the relevant code getProjectInfo

Affected component/components

CLI

How to reproduce

  1. go to electron-vite to build a electron-vite project
  2. run pnpm dlx shadcn@latest init

Codesandbox/StackBlitz link

link

Logs

We could not detect a supported framework at D:\JinJieBeWater\Noark\Noark.
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

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

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
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