shadcn-vue
shadcn-vue copied to clipboard
[Bug]: pnpm add reka-ui @vueuse/core failed
When I try to add any of the components to my project, for example dialog:
pnpm dlx shadcn-vue@latest add dialog
I get this error:
ostinstall script, done in 171ms
✔ Checking registry.
⠏ Installing dependencies. 12:29:48 PM
12:29:48 PM
Something went wrong. Please check the error below for more details. 12:29:48 PM
If the problem persists, please open an issue on GitHub. 12:29:48 PM
12:29:48 PM
pnpm add reka-ui @vueuse/core failed.
I installed mentioned packages manually, but I still get this error.
System: OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat) CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz Memory: 7.70 GB / 23.35 GB Container: Yes Shell: 3.7.0 - /usr/bin/fish Binaries: bun: 1.3.0 - /home/mohammad/.bun/bin/bun Browsers: Chrome: 142.0.7444.134 npmPackages: @vueuse/core: 13.9.0 => 13.9.0 reka-ui: 2.5.1 => 2.5.1 vue: ^3.5.22 => 3.5.22
Have you resolved this
Same here!
What error do you get
Can you share a stackblitz reproduction? Cant recreate thsi issue
same here
pnpm dlx shadcn-vue@latest add separator
(node:24235) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ Checking registry.
⠴ Installing dependencies. 9:12:49 AM
9:12:49 AM
Something went wrong. Please check the error bmyHomeow for more details. 9:12:49 AM
If the problem persists, please open an issue on GitHub. 9:12:49 AM
9:12:49 AM
corepack pnpm add reka-ui @vueuse/core failed. 9:12:49 AM
/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21535
if (key == null || signature == null) throw new Error(Cannot find matching keyid: ${JSON.stringify({ signatures, keys })});
^
Error: Cannot find matching keyid: {"signatures":[{"sig":"MEUCIC2uEs3xP1v49..."}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80Pjjok..A","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYH....="}]}
at verifySignature (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
at fetchLatestStableVersion (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async fetchLatestStableVersion2 (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
at async Engine.getDefaultVersion (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:22292:23)
at async Engine.executePackageManagerRequest (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:22390:47)
at async Object.runMain (/home/myHome/.nvm/versions/node/v22.11.0/lib/node_modules/corepack/dist/lib/corepack.cjs:23096:5)
Node.js v22.11.0
Solved via Corepack issues #612