搜尋

首頁  >  問答  >  主體

git - npm publish 失敗 怎麼解決啊?

我想大声告诉你我想大声告诉你2828 天前785

全部回覆(1)我來回復

  • phpcn_u1582

    phpcn_u15822017-05-02 09:34:01

    你應該發佈的是 private package。

    config.scope:

    Associate an operation with a scope for a scoped registry. Useful when logging in to a private registry for the first time: npm login --scope=@organization --registry=registry.organization.com, which will cause @organization to be mapped to the registry for future installation of packages specified according to the pattern @organization/package.

    npm 私有模組的管理使用,看這篇文章:http://www.cnblogs.com/kelsen/p/4964574.html

    回覆
    0
  • 取消回覆