-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
CLI not creating components.json (bun) #724
Comments
@diegoulloao Thanks for raising the issue! I'm not sure why the Instead, try running |
Additionally when I try to manually create the file, I get the following message when installing components
{
"style": "new-york",
"tailwind": {
"config": "tailwind.config.js"
}
} |
I already tried it. It throws an error saying this:
Related to this: #721 Only using the |
@AdrianGonz97 are you sure about this #725? Not using the |
@diegoulloao I know for sure that we don't want The other error you're experiencing is a separate issue, which we're looking into now. |
@diegoulloao It looks to be some sort of module resolution issue for peer-dependencies in older versions of bun. See if the following works for you: bun upgrade
bun pm cache rm
rm -rf /private/tmp/shadcn-svelte@latest--bunx After that, you should be able to run: bunx shadcn-svelte@latest init |
One thing I just want to document is that when I initially ran |
Have you tried passing the —bun flag? Not sure if was removed. |
Describe the bug
I'm running the command that the docs suggested
bunx --bun shadcn-svelte@latest init
but after complete all the steps I can't see the components.json file.The file isn't created.
Reproduction
components.json
fileI'm using bun and node v20.
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: