How to solve the failure of npm publish?

  git, question


What you should publish is private package.


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, 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: