Npm 发布的时候是不允许重复创建版本

再次发布的时候得到错误:

npm notice Security Notice: Classic tokens have been revoked. Granular tokens are now limited to 90 days and require 2FA by default. Update your CI/CD workflows to avoid disruption. Learn more https://gh.io/all-npm-classic-tokens-revoked
npm error You cannot publish over the previously published versions: 0.0.1.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-10T14_46_26_001Z-debug-0.log
Error: Process completed with exit code 

解决办法

重新发布一个新的版本是唯一的解决办法。

NPM 不允许重复覆盖老的发行版本。