当前位置:网站首页>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边栏推荐
猜你喜欢
随机推荐
PyTorch(13)---优化器_随机梯度下降法
Win10无法连接打印机怎么办?不能使用打印机的解决方法
GPT2计算流程详解
关系代数、SQL与逻辑式语言
实战美团Nuxt +Vue全家桶,服务端渲染,邮箱验证,passport鉴权服务,地图API引用,mongodb,redis等技术点
【使用Pytorch实现ResNet网络模型:ResNet50、ResNet101和ResNet152】
Policy Evaluation收敛性、炼丹与数学家
PHY6222蓝牙5.2支持MESH组网M0内核超低功耗
DP1332E刷卡芯片支持NFC内置mcu智能楼宇/终端poss机/智能门锁
Tensorflow常用函数
可以拖拽的ViewGroup,仿微信拖拽缩放关闭
arm push/pop/b/bl汇编指令
Must-know knowledge about disassembly
FP6293电池升压5V-12V大电流2APWM模式升压方案
LORA芯片ASR6601支持M4内核的远距离传输芯片
针对多轮推理分类问题的软标签构造方法
【目标检测】YOLO v5 吸烟行为识别检测
LLVM系列第二十章:写一个简单的Function Pass
PyTorch②---transforms结构及用法
win10怎么设置不睡眠熄屏?win10设置永不睡眠的方法





![[论文阅读] ACT: An Attentive Convolutional Transformer for Efficient Text Classification](/img/59/88db682b6ff82d3612fd582cd499b2.png)



