当前位置:网站首页>Common problems encountered when creating and publishing packages using NPM
Common problems encountered when creating and publishing packages using NPM
2022-06-25 23:57:00 【wen_ Wen Wen】
1.、npm publish Error when publishing package 403
Log in to your npm account number , Check whether mailbox verification has been performed , If not verified , There will be a prompt at the top of the website ;
I didn't verify my email, so I will report an error , However, it is different from the detailed error reporting without email verification on the Internet , But the error codes are 403
2、 Delete the specified version :npm unpublish [email protected] Version number
3、 Current npm The image is Taobao image :
Switch back to the original image source : npm config set registry https://registry.npmjs.org/
Set the image source to Taobao image :npm config set registry http://registry.npm.taobao.org/
4.、 Modify your own npm After the package , If you want to republish :
npm version patch; // to update npm Published package version , Update local package.json Version number in ;
npm publish; // Publish your own npm package
5、 Delete the package and publish it again : There was a problem after the release ,npm unpublish Error occurs when publishing again after deletion ;
Solution : 1. Modify package name
2. etc. 24 Hours later, the package with the same name will be released
6、npm publish Publishing times is wrong :403 Code ;
Solution : package.json It's written in the document name Name and npm There is a duplicate name on the Internet , Need to change the name before publishing ;
边栏推荐
- The role of iomanip header file in actual combat
- 寻找翻转数组的最小值[抽象二分]
- Let's talk about string today
- Building cloud computers with FRP
- OpenResty篇01-入门简介和安装配置
- SSL/TLS、对称加密和非对称加密和TLSv1.3
- 利用swiper实现轮播图
- JS中的数字数组去重
- Jenkins 发布PHP项目代码
- Realize the conversion between analog quantity value and engineering quantity value in STEP7_ Old bear passing by_ Sina blog
猜你喜欢
Unable to start debugging. Unexpected GDB output from command “-environment -cd xxx“ No such file or
SSM integrated learning notes (mainly ideas)
keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客
(转载)进程和线程的形象解释
One article explains R & D efficiency! Your concerns are
Line height for small use
支付宝支付接口沙箱环境测试以及整合到一个ssm电商项目中
在win10下使用visual studio2015链接mysql数据库
解析产品开发失败的5个根本原因
Studio5k V28 installation and cracking_ Old bear passing by_ Sina blog
随机推荐
Megacli常用命令整理
Let's talk about string today
7.常用指令(下)v-on,v-bind,v-model的常见操作
Talk about singleton mode!
Mutual conversion of float type data and datetime type data in sqlserver2008
谈一谈PHP变量或参数的Copy On Write机制
keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客
STEP7 master station and remote i/o networking_ Old bear passing by_ Sina blog
别再吃各种维生素C片了,这6种维生素C含量最高的水果
Two ways to center block level elements
虚析构和纯虚析构及C ++实现
6. common instructions (upper) v-cloak, v-once, v-pre
Topic36——53. 最大子数组和
oracle写一个先插入一条数据,在将该数据中一个字段更新的触发器的坑
使用百度地图API在地图中设置一个覆盖物(InfoWindow),可自定义窗口内容
Efficacy of kiwi fruit enzyme_ Old bear passing by_ Sina blog
动态验证码
DPVS-FullNAT模式keepalived篇
支付宝支付接口沙箱环境测试以及整合到一个ssm电商项目中
The InputStream stream has been closed, but the file or folder cannot be deleted, indicating that it is occupied by the JVM