为比npm安装慢的包添加Yarn|链接依赖项非常慢

ca1c2owp  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(294)

每当我尝试添加一个带有Yarn的新包时,速度会变慢,链接依赖项会花费太多时间。
它会重新安装所有的软件包吗?我从npm转移到了Yarn,所以看起来相反的事情发生得更快。有没有办法跳过链接依赖项?

[3/4] Linking dependencies...
warning "@react-pdf/renderer > react-reconciler@0.23.0" has incorrect peer dependency "react@^16.0.0".
warning " > react-compound-timer@1.2.0" has incorrect peer dependency "react@^16.8.6".warning " > react-countdown-circle-timer@2.5.3" has unmet peer dependency "prop-types@>=15.7.0".
warning " > react-markdown@6.0.2" has unmet peer dependency "@types/react@>=16".
warning " > react-qr-reader@2.2.1" has incorrect peer dependency "react@~16".
warning " > react-qr-reader@2.2.1" has incorrect peer dependency "react-dom@~16".
warning " > reaptcha@1.7.2" has incorrect peer dependency "react@^16.6.3".
warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".
warning " > file-loader@6.2.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题