Module not found when trying to install a shadcn module
I just started a new project and am trying to install a simple dropdown menu with shadcn but am getting this error that I don't know what to do about. At first I thought it might be due to the path length being too long so I tried editing the registry key to allow longer paths and I also set the max path to a higher number in .npmrc, to no avail. Clearing the pnpm cache and reinstalling node_modules did nothing either.
1 Reply
The problem was with the latest version of shadcn-vue (v0.10.5) so rolling back to 0.10.4 is a temporary fix. This seems to only affect Nuxt. There is already a github issue on it.
GitHub
[Bug]: v0.10.5 - Unable to add components using npx · Issue #560 · ...
Reproduction Use the CLI Describe the bug Since the latest release the npx shadcn-vue@latest add tabs helper no longer works. Currently using 0.10.4 to keep functionality going. System Info System:...