Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FORBIDDEN] Can't modify pre-existing version: [email protected] #729

Open
yang200258 opened this issue Nov 21, 2024 · 2 comments
Open

Comments

@yang200258
Copy link

我发布一个包的时候,提示:
Publishing to http:$REGISTRY with tag latest and default access npm http fetch PUT 403 http:$REGISTRY xxx 74374ms attempt #3 npm verb stack HttpErrorGeneral: 403 Forbidden - PUT http:$REGISTRY xxxxx- [FORBIDDEN] Can't modify pre-existing version: [email protected] npm verb stack at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:95:15 npm verb stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5) npm verb stack at async publish (/usr/local/lib/node_modules/npm/node_modules/libnpmpublish/lib/publish.js:53:15) npm verb stack at async otplease (/usr/local/lib/node_modules/npm/lib/utils/otplease.js:4:12) npm verb stack at async Publish.exec (/usr/local/lib/node_modules/npm/lib/commands/publish.js:126:7) npm verb stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli-entry.js:61:5) npm verb statusCode 403 npm verb pkgid [email protected]

但是在查询版本时候显示并没有0.6.57版本
image
从数据库查又有:
image

@elrrrrrrr
Copy link
Member

这个包是私有源上的包吗? db 内数据看起来是脏数据?

@yang200258
Copy link
Author

这个包是私有源上的包吗? db 内数据看起来是脏数据?

对的,是私有源的,脏数据是怎么看出来的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants