shadcn-vue
shadcn-vue copied to clipboard
[Bug]: npx shadcn-vue@latest Get npm ERR! Invalid Version:
Reproduction
https://nuxt.new
Describe the bug
I'm experiencing an issue while trying to follow the installation tutorial provided at https://www.shadcn-vue.com/docs/installation/nuxt.html. After completing all the steps correctly, I encountered an error when executing the command:
npx shadcn-vue@latest init
Here's the error message I received:
npx shadcn-vue@latest init
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm ERR! Invalid Version:
This error persists even though I have already installed the [email protected] package both globally and as a local project dependency.
The specific version [email protected] works fine
npx [email protected] init
System Info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Memory: 8.36 GB / 15.84 GB
Binaries:
Node: 20.9.0 - D:\nodejs\node.EXE
Yarn: 1.22.21 - D:\nodejs\yarn.CMD
npm: 10.1.0 - D:\nodejs\npm.CMD
pnpm: 9.1.0 - D:\nodejs\pnpm.CMD
Watchman: 20231008.002904.0 - C:\Users\insub\scoop\shims\watchman.EXE
Browsers:
Chrome: 125.0.6422.60
Edge: Chromium (123.0.2420.97)
Internet Explorer: 11.0.19041.4355
npmPackages:
nuxt: ^3.11.2 => 3.11.2
shadcn-nuxt: ^0.10.4 => 0.10.4
shadcn-vue: 0.10.4 => 0.10.4
vue: ^3.4.27 => 3.4.27
Contributes
- [ ] I am willing to submit a PR to fix this issue
- [ ] I am willing to submit a PR with failing tests