arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.71k stars 534 forks source link

npm run init 失败: no such file 'packages\web-vue\components\icon\@types\icon' #493

Closed 0604hx closed 2 years ago

0604hx commented 2 years ago

已按照文档完成 lerna 、yarn 的全局按照,yarn install 执行成功

执行 npm run init 出现以下错误:

[Error: ENOENT: no such file or directory, stat 'E:\workspace\github\arco-design-vue\packages\web-vue\components\icon\@types\icon'] {  
  errno: -4058,                                                                                                                        
  code: 'ENOENT',                                                                                                                      
  syscall: 'stat',                                                                                                                     
  path: 'E:\\workspace\\github\\arco-design-vue\\packages\\web-vue\\components\\icon\\@types\\icon'                                    
}
lerna ERR! yarn run init exited 1 in '@arco-design/web-vue'                                                 

环境如下:

条目 内容
操作系统 Windows 10 家庭中文版 21H1
node 16.13.0
npm 8.3.0
yarn 3.0.2
lerna 4.0.0
vue @vue/cli 5.0.0-rc.1

操作步骤

  1. yarn install image

执行期间未见报错,结果显示:

➤ YN0000: Done with warnings in 1m 54s
  1. npm run init

报错信息如下: image

image

flsion commented 2 years ago

@0604hx 请提供下详细的复现步骤和环境,npm run init 错误可能是包安装有问题导致的

0604hx commented 2 years ago

@0604hx 请提供下详细的复现步骤和环境,npm run init 错误可能是包安装有问题导致的

已补充相应的信息