git - npm publish 失败 怎么解决啊?

浏览:22日期:2023-09-27

问题描述

git - npm publish 失败 怎么解决啊?

问题解答

回答1:

你应该发布的是 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

相关文章: