node.js - 发布新的 NPM 包时未找到 E404
问题描述
我正在尝试发布一个名为 nibble-qmk-hid 的新 npm 包。我已经通过npm init
. 我已经通过 登录到 npm npm login
,然后当我尝试通过 发布包时npm publish --access public
,我收到以下错误:
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://npm.pkg.github.com/nibble-qmk-hid
npm ERR! 404
npm ERR! 404 'nibble-qmk-hid@1.0.0' 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! C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2020-08-23T17_47_29_933Z-debug.log
我也尝试将 npm 更新到最新版本。
解决方案
推荐阅读
- java - Java 与 ArrayLists 函数的索引
- python-3.x - 如何使用 Python 和 Selenium Webdriver 在 Chrome 中加载默认配置文件?
- github - 在 Firefox 中关闭 GitHub 企业暗模式
- json - 黄瓜量角器 E2E 测试的环境标志?
- php - 使用 Foundation 的自定义 Wordpress 主题中的插件 jQuery 冲突
- neo4j - Cypher 将来自不同表的信息连接到一个表中
- .htaccess - htaccess - 使用过滤器更改文件目录
- laravel - 从 Vue 前端触发 Xdebug
- r - 'names' 属性 [4000] 必须与向量 [5] 的长度相同
- sanity - 在 CMS / Studio 中编辑引用的文档时,如何使用 Sanity.io 和 Gatsby 获得观看模式以刷新内容?