当前位置:网站首页>npm ERR! 400 Bad Request - PUT xxx - Cannot publish over previously published version “1.0.0“.
npm ERR! 400 Bad Request - PUT xxx - Cannot publish over previously published version “1.0.0“.
2022-08-02 09:57:00 【no tide】
npm publish error when sending package
Console error

You can see the released package on the npm official website, but there is no content (as follows)The package is basically released, and there is a small error later

Reason:
When a package with the same name is released again, it cannot be the same version as the last released package
Workaround:
In the package.json file, increase the version number of the package.
Change the version number to 1.0.1

After re-npm publish, refresh the page, you can see the corresponding package just published

Note
We usually use Taobao mirror sources, so we cannot use npm publish to send packages, we must switch the address back to npm official website
Using the nrm tool
Global installation nrm
npm install nrm -gView all mirror sources
nrm ls
Switch to official address
nrm use npm
When sending the package, you must switch to the official npm address. To improve the download speed later, you can also use the command nrm use taobao Switch the address back to the Taobao mirror to increase the speed, We should pay attention to this when we operate normally
If there are any mistakes in the article, I urge you to ask questions, I would greatly appreciate it.If you don't understand, you can comment and I will reply
If the article is helpful to everyone, I hope everyone can give it a thumbs up and encouragement, and everyone will work together in the future. The road is long, and the road is long and long
边栏推荐
- 全新荣威RX5,27寸大屏吸引人,安全、舒适一个不落
- Pytorch's LSTM parameters explained
- 用汇编实现爱心特效【七夕来袭】
- AlterNET Studio用户界面设计功能扩展
- R语言使用zoo包中的rollapply函数以滚动的方式、窗口移动的方式将指定函数应用于时间序列、设置align参数指定结果数据中的时间标签取自窗口中的位置(参数right指定取自窗口的最右侧)
- Chapter 15 Generics
- 使用scrapy 把爬到的数据保存到mysql 防止重复
- 日元疲软令游戏机在日本变身“理财产品”:黄牛大赚
- 带你认识40G单纤双向光模块-QSFP+ BiDi光模块
- The k-nearest neighbor method in the notes of Li Hang's "Statistical Learning Methods"
猜你喜欢

要长续航还是更安全?海豹与深蓝SL03对比导购

Getting Started with SCM from Scratch (1): Summary of Background Knowledge

软件测试之发现和解决bug

AutoJs学习-AES加解密

The perceptron perceptron of Li Hang's "Statistical Learning Methods" notes

干货|如何在海量文件系统中选择合适自己的文件系统

DVWA 通关记录 2 - 命令注入 Command Injection

第十七章 Excel操作

iNFTnews | Seeing the two sides of the metaverse, what is the true Internet and the Internet of value?

Re22:读论文 HetSANN An Attention-based Graph Neural Network for Heterogeneous Structural Learning
随机推荐
RPA助你玩转抖音,开启电商运营新引擎
重磅大咖来袭!阿里云生命科学与智能计算峰会精彩内容剧透
享年94岁,图灵奖得主、计算复杂性理论先驱Juris Hartmanis逝世
刷题错题录1-隐式转换与精度丢失
李航《统计学习方法》笔记之朴素贝叶斯法
二维数组零碎知识梳理
Use the scrapy to climb to save data to mysql to prevent repetition
The 17th day of the special assault version of the sword offer
MySql千万级分页优化,快速插入千万数据方法
新“内卷”席卷科技圈,Google CEO 要求 174000 员工提高工作效率!
中国发布丨滴滴因违反网络安全法等被罚80.26亿元!调查细节公布
使用scrapy 把爬到的数据保存到mysql 防止重复
This article takes you to understand the commonly used models and frameworks of recommender systems
Long battery life or safer?Seal and dark blue SL03 comparison shopping guide
2022.7.25-7.31 AI行业周刊(第108期):值钱比赚钱更重要
Using the TCP protocol, will there be no packet loss?
MySql tens of millions of paging optimization, fast insertion method of tens of millions of data
【Redis】Jedis
R语言ggpubr包的ggline函数可视化分组折线图、add参数为mean_se和dotplot可视化不同水平均值的折线图并为折线图添加误差线(se标准误差)和点阵图、自定义palette设置颜色
Spend 2 hours a day to make up for Tencent T8, play 688 pages of SSM framework and Redis, and successfully land on Meituan