Closed ziddkh closed 8 months ago
Would you share your steps of the installation with the screenshots of the terminal?
Did you try install this module?
I had the same error. Using the latest version npx shadcn-ui@0.6.0 init
works fine for me
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
At C:\Users\user123\AppData\Local\npm-cache
the dependency's resolved as not found.
Remove the npm-cache at that location and do npm install
at project root, it will work.
At
C:\Users\user123\AppData\Local\npm-cache
the dependency's resolved as not found. Remove the npm-cache at that location and donpm install
at project root, it will work.
Have tried this solution on Ubuntu but doesn't work.
did you find any solution for this??
did you find any solution for this??
Yeah I did. Just tried the solution suggested by @mauriciomutte. When using npx shadcn-ui@latest ....
it was using version 0.2.x
of shadcn-ui. So what I did was uninstalling the package and explicitly use npx shadcn-ui@0.6.0 add ...
. And it worked.
removing all files in .npm directory resolved the problem for me
i'm also having this issue with my Gatsby project. i didn't add typescript maybe that's why. So how did you solve this issue am i supposed to use old version every time i use this library
node:internal/modules/cjs/loader:1144 const err = new Error(message); ^
Error: Cannot find module '@ts-morph/common' Require stack:
Got an error while init shadcn/ui, this happen when I create new next js app and want installing shadcn/ui. Please help me to fix this
Here's the error that i got
Regards, Zidd