Skip to content

有的依赖包从本地Publish 403是什么原因? #722

Open
@gitfxx

Description

@gitfxx

内网搭建了一个cnpm源,没有外网,从本地推送依赖有的可以正常推送,有的就报错如下
npm notice Publishing to http://npm.xxx.cn/ with tag latest and default access
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT http://npm.xxx.cn/webpack-virtual-modules - [forbidden] dongmi not authorized to modify webpack-virtual-modules, please contact maintainers: vicvlas
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
npm ERR! A complete log of this run can be found in: C:\Users\admin\AppData\Local\npm-cache_logs\2024-10-31T08_01_16_498Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions