node.js - 运行 npm unpublish 时出错 - npm unpublish 错误
问题描述
运行 npm unpublish @mioun/letter-aneh -f 时出现错误
mioun@zde ~/miouns-7$ npm unpublish @mioun/letter-aneh -f
npm WARN using --force I sure hope you know what you are doing.
npm ERR! code E404
npm ERR! 404 Not Found - DELETE https://registry.npmjs.org/@mioun%2fletter-aneh/-rev/3-32e8cf92e0c9077ea473d6230a26359f - Not found
npm ERR! 404
npm ERR! 404 '@mioun/letter-aneh@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mioun/.npm/_logs/2020-08-22T18_12_20_129Z-debug.log
解决方案
这是一个奇怪的错误。实际问题是身份验证问题。我不得不
> npm logout
然后
> npm login
这为我解决了。
推荐阅读
- android - Android 上的 TensorFlow Lite
- sorting - 基于子数组的子元素最小值的 Elasticsearch 嵌套排序
- node.js - Steam 通过 HTTP 请求获取市场上物品的所有信息
- javascript - 导入两个同名的JS文件
- sql-server - 我是否成功参数化/保护了我的查询?
- javascript - Ajax 请求需要两次点击才能从 python 脚本中检索数据
- node.js - nodemailer 和 IPv6 问题
- python - 连接到 HP ALM 12.20 的 Python 客户端
- html - 如何在图像下显示无序列表?
- python - 如何在我的 python 脚本中连接到 VPN,以便我可以在 Kaggle 上运行我的代码?