当前位置:网站首页>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
边栏推荐
- AutoJs学习-实现谢尔宾斯基三角
- Naive Bayesian Method of Li Hang's "Statistical Learning Methods" Notes
- qq邮箱日发5万邮件群发技术(qq邮箱怎样定时发送邮件)
- Facebook自动化数据分析方案,广告投放省心省力
- Getting Started with SCM from Scratch (1): Summary of Background Knowledge
- The k-nearest neighbor method in the notes of Li Hang's "Statistical Learning Methods"
- 斯皮尔曼相关系数
- In the whole development of chi V853 board tried to compile QT test
- 8月份的.NET Conf 活动 专注于 .NET MAUI
- MySql tens of millions of paging optimization, fast insertion method of tens of millions of data
猜你喜欢

The use of thread pool and analysis of ThreadPoolExecutor source code

Application scenarios of js anti-shake function and function throttling

node封装一个图片拼接插件

net start mysql MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。

QT专题:自定义部件

SAP 云平台上一种 Low Code Development(低代码开发)解决方案

Use the scrapy to climb to save data to mysql to prevent repetition

leetcode 62. Unique Paths(独特的路径)

ConvNeXt论文及实现

npm ERR! 400 Bad Request - PUT xxx - Cannot publish over previously published version “1.0.0“.
随机推荐
yolov7创新点
R语言ggplot2可视化:使用ggpubr包的ggbarplot函数可视化水平柱状图(条形图)、使用orientation参数设置柱状图转置为条形图
第15章 泛型
R语言时间序列数据算术运算:使用log函数将时间序列数据的数值对数化、使用diff函数计算对数化后的时间序列数据的逐次差分(计算价格的对数差分)
The k-nearest neighbor method in the notes of Li Hang's "Statistical Learning Methods"
开源一夏 | GO语言框架中如何快速集成日志模块
刷题错题录1-隐式转换与精度丢失
AutoJs学习-实现谢尔宾斯基三角
Two-dimensional array piecemeal knowledge sorting
8月份的.NET Conf 活动 专注于 .NET MAUI
Chapter 15 Generics
第十五章 多线程
单词接龙 II
Do you agree with this view?Most businesses are digitizing just to ease anxiety
Re22:读论文 HetSANN An Attention-based Graph Neural Network for Heterogeneous Structural Learning
裁员趋势下的大厂面试:“字节跳动”
Long battery life or safer?Seal and dark blue SL03 comparison shopping guide
你认同这个观点吗?大多数企业的数字化都只是为了缓解焦虑
一文带你了解推荐系统常用模型及框架
李航《统计学习方法》笔记之朴素贝叶斯法