当前位置:网站首页>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边栏推荐
猜你喜欢
随机推荐
LLVM系列第九章:控制流语句if-else
arm push/pop/b/bl汇编指令
【我的电赛日记(二)】ADF4351锁相环模块
ECP2459耐压60V降压BUCK电路用于WIFI模块供电方案原理图
PyTorch(13)---优化器_随机梯度下降法
机器学习---监督学习、无监督学习
Makefile容易犯错的语法
PyTorch⑦---卷积神经网络_非线性激活
ASR6601牛羊定位器芯片GPS国内首颗支持LoRa的LPWAN SoC
对疫情期间量化策略表现的看法
深度学习之文本分类总结
LLVM系列第十七章:控制流语句for
DP1332E刷卡芯片支持NFC内置mcu智能楼宇/终端poss机/智能门锁
LeetCode2 电话号码的字母组合
2022TI杯D题混沌信号产生实验装置
LORA芯片ASR6505无线远距离传输8位MCU
FP7195芯片PWM转模拟调光至0.1%低亮度时恒流一致性的控制原理
2.4G无线小模块CI24R1超低成本
DP4301无线收发SUB-1G芯片兼容CC1101智能家居
LLVM系列第二十二章:写一个简单的编译时函数调用统计器(Pass)









