You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is error: Invalid src or dest: cp returned EINVAL (cannot copy /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers to a subdirectory of self /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers) /var/folders/nr/hmsy7n6j0534g49f0wmd8vsw0000gn/T/shadcn-vue/.pnpm/@internationalized+number@3.6.1/node_modules/@swc/helpers
at onLink (node:internal/fs/cp/cp:348:11)
at async copyDir (node:internal/fs/cp/cp:320:19)
at async copyDir (node:internal/fs/cp/cp:320:19)
at async copyDir (node:internal/fs/cp/cp:320:19)
at async copyDir (node:internal/fs/cp/cp:320:19)
at async copyDir (node:internal/fs/cp/cp:320:19)
at async updateFiles (/Users/panfeng/Library/Caches/pnpm/dlx/35e028d926b5ac6615b5f1020a9f175c23b23afb8550f5ce29f13138ae74b98c/196760fcad0-5e40/node_modules/.pnpm/shadcn-vue@2.1.0_@vitest+ui@3.1.2_eslint@9.25.1_jiti@1.21.7__typescript@5.8.3_vitest@3.1.2_vue@3.5.13_typescript@5.8.3_/node_modules/shadcn-vue/dist/index.js:1448:5)
at async addProjectComponents (/Users/panfeng/Library/Caches/pnpm/dlx/35e028d926b5ac6615b5f1020a9f175c23b23afb8550f5ce29f13138ae74b98c/196760fcad0-5e40/node_modules/.pnpm/shadcn-vue@2.1.0_@vitest+ui@3.1.2_eslint@9.25.1_jiti@1.21.7__typescript@5.8.3_vitest@3.1.2_vue@3.5.13_typescript@5.8.3_/node_modules/shadcn-vue/dist/index.js:1709:3)
at async addComponents (/Users/panfeng/Library/Caches/pnpm/dlx/35e028d926b5ac6615b5f1020a9f175c23b23afb8550f5ce29f13138ae74b98c/196760fcad0-5e40/node_modules/.pnpm/shadcn-vue@2.1.0_@vitest+ui@3.1.2_eslint@9.25.1_jiti@1.21.7__typescript@5.8.3_vitest@3.1.2_vue@3.5.13_typescript@5.8.3_/node_modules/shadcn-vue/dist/index.js:1677:10)
at async runInit (/Users/panfeng/Library/Caches/pnpm/dlx/35e028d926b5ac6615b5f1020a9f175c23b23afb8550f5ce29f13138ae74b98c/196760fcad0-5e40/node_modules/.pnpm/shadcn-vue@2.1.0_@vitest+ui@3.1.2_eslint@9.25.1_jiti@1.21.7__typescript@5.8.3_vitest@3.1.2_vue@3.5.13_typescript@5.8.3_/node_modules/shadcn-vue/dist/index.js:1896:3)
[15:12:09] ERROR Invalid src or dest: cp returned EINVAL (cannot copy /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers to a subdirectory of self /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers) /var/folders/nr/hmsy7n6j0534g49f0wmd8vsw0000gn/T/shadcn-vue/.pnpm/@internationalized+number@3.6.1/node_modules/@swc/helpers
Reproduction
安装不了
Describe the bug
通过文档中的安装命令,安装失败
pnpm dlx shadcn-vue@latest init
this is error: Invalid src or dest: cp returned EINVAL (cannot copy /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers to a subdirectory of self /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers) /var/folders/nr/hmsy7n6j0534g49f0wmd8vsw0000gn/T/shadcn-vue/.pnpm/@internationalized+number@3.6.1/node_modules/@swc/helpers
[15:12:09] ERROR Invalid src or dest: cp returned EINVAL (cannot copy /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers to a subdirectory of self /Users/panfeng/Desktop/saas-teasing-wall/node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers) /var/folders/nr/hmsy7n6j0534g49f0wmd8vsw0000gn/T/shadcn-vue/.pnpm/@internationalized+number@3.6.1/node_modules/@swc/helpers
System Info
Contributes
The text was updated successfully, but these errors were encountered: