Failed to resolve import "cmdk" from "src/components/ui/command.tsx". Does the file exist? #4080
Replies: 2 comments
-
Nevermind, it's probably because of misconfiguration in my docker configuration. I ran with normal npm run dev and it works. |
Beta Was this translation helpful? Give feedback.
0 replies
-
even i have this issue not sure why |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I ran this command
npx shadcn-ui@latest add command
And copy/pasted the code from here https://ui.shadcn.com/docs/components/command#dialog
I get this error now, i'm not sure why. I've even installed cmdk manually, removed node_modules etc.
I've also attached a screenshot below

Any idea what the cause might be?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions