当前位置:网站首页>Publish module to NPM should be how to operate?Solutions to problems and mistake
Publish module to NPM should be how to operate?Solutions to problems and mistake
2022-08-02 15:21:00 【N.S.N】
Enter npm whoami in the command line to check if you are logged in
Enter npm config ls in the command line to determine whether the source is npm, not cnpm
If you are not logged in, enter npm adduser to log in, follow the prompts and returnLogged in as fang_haixin on https://registry.npmjs.org/.
Use npm publish to publish the package
If the following error is reported, it means that the package name is used, redefine a name
403 Forbidden - PUT https://registry.npmjs.org/roadsign - You do not have permission to publish "roadsign". Are you logged in as the correct user?The main reason is that I did not click the link in the email to confirm the association operation
npm ERR! 403 Forbidden you must verify your email before publishing a new packageIf there are already a lot of packages with similar names to yours on npm, this problem will occur, just modify your package name in package.json
PUT https://registry.npmjs.org/road-sign - Package name too similar to existing packages; try renaming your package to '@fang_haixin/road-sign' and publishing with 'npm publish --access=public' instead边栏推荐
- FP7195大功率零压差全程无频闪调光DC-DC恒流芯片(兼容调光器:PWM调光,无极调光,0/1-10V调光)
- 使用npx -p @storybook/cli sb init安装失败,手把手搭建专属的storybook
- Binder ServiceManager解析
- FP6296锂电池升压 5V9V12V内置 MOS 大功率方案原理图
- 最小树高度
- Win10 can't start WampServer icon is orange solution
- 6. How to use the CardView production card layout effect
- 想做好分布式架构?这个知识点一定要理解透彻
- Win10电脑不能读取U盘怎么办?不识别U盘怎么解决?
- 基于深度学习的配准框架
猜你喜欢
随机推荐
基于GPT的隐变量表征解码结构
profiler network乱码
系统线性、时不变、因果判断
ECP2459耐压60V降压BUCK电路用于WIFI模块供电方案原理图
win10系统更新错误代码0x80244022怎么办
LLVM系列第三章:函数Function
LLVM系列第八章:算术运算语句Arithmetic Statement
LLVM系列第二十七章:理解IRBuilder
FP5207电池升压 5V9V12V24V36V42V大功率方案
镜像法求解接地导体空腔电势分布问题
刷卡芯片CI520可直接PIN对PIN替换CV520支持SPI通讯接口
LLVM系列第二十章:写一个简单的Function Pass
FP7195转模拟恒流调光芯片在机器视觉光源的应用优势
Binder机制(下篇)
DP4301无线收发SUB-1G芯片兼容CC1101智能家居
小T成长记-网络篇-1-什么是网络?
FP7195转模拟调光技术解决智能家居调光频闪和电感噪音的原理
LLVM系列第四章:逻辑代码块Block
对疫情期间量化策略表现的看法
【使用Pytorch实现ResNet网络模型:ResNet50、ResNet101和ResNet152】









