使用yarn install 报错 An unhandled exception occurred: ENOTEMPTY: directory not empty
版本
Yarn versiong: 1.22.18
Node version: 16.14.2
解决方法:之前yarn install 过,有缓存。清除本地缓存再次下载。命令如下
yarn install --check-files --cache-folder .ycache && rm -rf .ycache
结果错误变成了An unexpected error occurred :'https://regigtry yarnpkg.com/xxx.xxx,ETIMEDO
原创
2022-05-12 11:40:30 ·
3251 阅读 ·
1 评论