这就是报错的原因。 解决办法也很简单,修改包名,或者用B的账号publish就可以了。
当执行npm publish,发生了如下错误: appledeMacBook-Pro:nini-react apple$ npm publish npm ERR! publish Failed PUT 401 npm ERR! code E401 npm ERR! 404 unauthorized Login first: nini-react npm ERR! 404 npm ERR! 404 'nini-react' is not in the npm registry. npm ERR! 404 You should bug...
您首先执行下 npm adduser ,输入您相应的 Username 、 Password 、 Email: (this IS public) ,关键的一步来了! Logged in as 您的Username on https://registry.npmjs.org/. 如果 on 后面不是 https://registry.npmjs.org/ ,而是其他的镜像,比如我们大家常见的淘宝镜像: http://registry.npm.taobao.org...
我试图将一个包发布到Gitlab包注册中心,但是它一直在用404 @my-scope/<package-name> is not in this registry错误地运行我。/"当我运行npm publish时,我会得到下面的404个错误。code E404<em 浏览5提问于2022-03-05得票数 2 2回答 npm安装child_process不工作 我想使用child_process模块从node.js运行脚本...
当执行npm publish,发生了如下错误: appledeMacBook-Pro:nini-react apple$ npm publish npm ERR! publish Failed PUT 401 npm ERR! code E401 npm ERR! 404 unauthorized Login first: nini-react npm ERR! 404 npm ERR! 404 'nini-react' is not in the npm registry. npm ERR! 404 You should bug...
I'm trying to update my package with npm publish, but I'm getting the message 'MyPackage is not in the npm registry'. I've tried updating the version number in package.json but it doesn't work for me. This is the information that I get in npm-debug.log: 0 info it worked if it...
自己写的npm包,之前每次更新都是正常发布,最近做个一个更新,想发布,然后npm publish 竟然失败, 错误提示如下: 1 2 3 4 5 6 npm ERR! network request to https://registry.npmjs.org/yy-org-switch failed, reason: connect ETIMEDOUT 104.16.16.35:443 ...
404 Not Found - GET https://registry.npmjs.org/MYPROJECT - Not found npm ERR! 404 npm ERR! 404 'MYPROJECT@latest' is not in this 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...
404 Not Found - PUT https://npm.pkg.github.com/vue-toggle-component npm ERR! 404 npm ERR! 404 'vue-toggle-component@0.1.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 tha...
大意是,从2021年10月4日开始,所有前往 npm registry 的连接,都需要使用 TLS 1.2 了. 因此,我把命名行改成使用 https,旧的错误消息就消失了: npm config set registry=http://registry.npmjs.org 然而我又遇到了新的错误消息:you do not have permission to publish "my-lib". Are you logged in as the...