How to solve the failure of npm publish?

  git, question

图片描述

What you should publish is 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=@organiza  tion --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.

The management and use of npm private modules, see this article:http://www.cnblogs.com/kelsen/p/4964574.html