-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
0.9.3 Expected string but received undefined #956
Comments
Thanks for raising the issue.
Please create the reproduction. It's easier for us to fix if we have a complete repro to work with, especially when it uses outside tech that we may not be familiar with! |
Please provide a reproduction. More infoWhy do I need to provide a reproduction?This project is maintained by a very small team, and we simply don't have the bandwidth to investigate issues that we can't easily replicate. Reproductions enable us to fix issues faster and more efficiently. If you care about getting your issue resolved, providing a reproduction is the best way to do that. I've provided a reproduction - what happens now?Once a reproduction is provided, we'll remove the If How can I create a reproduction?You can use this template to create a minimal reproduction. You can also link to a GitHub repository with the reproduction. Please ensure that the reproduction is as minimal as possible. If there is a ton of custom logic in your reproduction, it is difficult to determine if the issue is with your code or with the library. The more minimal the reproduction, the more likely it is that we'll be able to assist. You might also find these other articles interesting and/or helpful: |
i also wrote the readme. if you have any troubles running it i can help. the js part resides in |
Your Configuring the following will fix your issue:
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "new-york",
"typescript": false,
"tailwind": {
"config": "tailwind.config.js",
"css": "resources/css/app.pcss",
"baseColor": "zinc"
},
"aliases": {
"components": "@/components",
"utils": "@/services/utils"
}
}
{
"compilerOptions": {
"paths": {
"@/*": ["./resources/js/*"]
}
}
} However, the error presented in the issue should definitely be more descriptive. Thank you! |
Describe the bug
I cannot use the add command in version 0.9.3
error message:
Invalid type: Expected string but received undefined
Tested version 0.9.2, which works properly.
Reproduction
Use command
npx shadcn-svelte@latest add accordion
in Laravel-Inertia-Svelte project. No sveltekit, no typescript. If neccessary I'll create a new project with the same setup tomorrow.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: