[英](node.js) install NPM and YARN alternately
Can I install NPM and YARN alternately?我可以交替安装 NPM 和 YARN 吗?
If I need package a and package b, can I install package a with NPM and package b with YARN?如果我需要包 a 和包 b,我可以用 NPM 安装包 a 和用 YARN 安装包 b 吗?
npm install a
yarn add b
Yarn is fine alone, and I don't see personnally why you need use both for a project. Yarn单独使用很好,我个人不明白为什么你需要在一个项目中同时使用两者。 But yes, you can install both in the same project.
但是,是的,您可以将两者安装在同一个项目中。
In case you would like to see the advantages of Yarn over Npm, I'll slip you this little link: https://www.sitepoint.com/yarn-vs-npm/如果您想了解 Yarn 相对于 Npm 的优势,我会告诉您这个小链接: https : //www.sitepoint.com/yarn-vs-npm/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.