Trouble with "bunx shadcn-svelte@latest init" - Typescript error #819
-
I've done all the previous steps installing Sveltekit and Tailwind CSS. When I try running ✔ Running this command will install dependencies and overwrite your existing tailwind.config.[cjs|js|ts] & app.pcss file. Proceed? … yes ERROR: Cannot find package 'typescript' imported from /private/tmp/shadcn-svelte@latest--bunx/node_modules/shadcn-svelte/dist/index.js` Does anyone have any idea what's going on? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It could be that you're not running the command from the root folder of your project. Use |
Beta Was this translation helpful? Give feedback.
-
I solved it. It was just me being stupid, and I hadn't installed the shadcn-svelte package using Bun. |
Beta Was this translation helpful? Give feedback.
I solved it. It was just me being stupid, and I hadn't installed the shadcn-svelte package using Bun.