npm install:如何跳过已安装的全局软件包?

时间:2018-08-07 15:08:43

标签: node.js npm

在npm中,如何跳过已在全局存储库中安装的软件包的安装?

例如:

package.json

{
   "dependencies" : {
      "ytsr" : "",
      "cheerio" : "",
      "express" : "",
      "request" : ""
   }
}

在上面的示例中,我已经在 global 存储库中安装了expressrequest。我只想在本地安装ytsrcheerio软件包。

0 个答案:

没有答案
相关问题