简体   繁体   English

运行 npm install 时出错 Error: 404 Not Found: 7zip-bin@~4.1.0

[英]Error when I run npm install Error: 404 Not Found: 7zip-bin@~4.1.0

When I run npm install I see this error当我运行 npm install 我看到这个错误

3 verbose stack Error: 404 Not Found: 7zip-bin@~4.1.0
2293 verbose stack     at fetch.then.res (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)
2293 verbose stack     at tryCatcher (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
2293 verbose stack     at Promise._settlePromiseFromHandler (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
2293 verbose stack     at Promise._settlePromise (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
2293 verbose stack     at Promise._settlePromise0 (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)
2293 verbose stack     at Promise._settlePromises (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)
2293 verbose stack     at Async._drainQueue (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)
2293 verbose stack     at Async._drainQueues (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
2293 verbose stack     at Immediate.Async.drainQueues (C:\cygwin64\home\licbuild\ANSYSDev\LicensingPortal\node\node-v8.12.0-win-x64\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
2293 verbose stack     at runCallback (timers.js:810:20)
2293 verbose stack     at tryOnImmediate (timers.js:768:5)
2293 verbose stack     at processImmediate [as _immediateCallback] (timers.js:745:5)

As workaround I tried作为我尝试的解决方法

  1. npm i 7zip-bin@4.1.0, this didn't solve this issue npm i 7zip-bin@4.1.0,这并没有解决这个问题
  2. npm install https://npmjs.org/7zip-bin/v/4.1.0 npm 安装https://npmjs.org/7zip-bin/v/4.1.0

This is npm repo for this package enter link description here这是这个包的 npm repo在此处输入链接描述

Has anyone seen this kind of error before?有没有人见过这种错误? Any suggestion will really be appreciated, thank you :)任何建议将不胜感激,谢谢:)

This appears to be a transient issue as of today.截至今天,这似乎是一个暂时的问题。 I'm the maintainer of error-ex which has also received a report outlining this same issue from multiple users.我是error-ex的维护者,它也收到了一份报告,概述了来自多个用户的同一问题。 The package exists and your registry string is correct - I believe they're having platform issues.该软件包存在并且您的注册表字符串是正确的 - 我相信他们遇到了平台问题。

If you have a VPN, try to get close to California - apparently users around San Jose are able to get otherwise broken packages right now.如果您有 VPN,请尝试靠近加利福尼亚 - 显然,圣何塞附近的用户现在能够获得其他损坏的包裹。

I have notified npm as I believe this to be an issue on their end.我已经通知了 npm,因为我认为这对他们来说是一个问题。

EDIT: this has been fixed.编辑:这已被修复。

尝试先运行以下命令,然后再运行你的:

npm config set registry http://registry.npmjs.org

It is problem with npm, try fix by:这是 npm 的问题,请尝试通过以下方式修复:

npm install -g npm
npm cache clean
npm update
npm install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到npm错误404 - npm error 404 not found 运行“npm intsall grunt-cil -g”时出错404 - Error 404 when I run “npm intsall grunt-cil -g” 我是否需要为未找到模块的错误安装 npm - Do I need to do npm install for module not found error 每当我运行 npm install --force 时,我都会遇到这个错误 - Anytime I run npm install --force, I face this error 当我运行ng build时,如何配置服务器部分或前端以避免找不到错误404 - How to configure the server part or frontend to avoid the error not found 404 when I run ng build 当我运行“npm install”时,我的终端上出现此错误消息“npm ERR。Linux 5.4.72-microsoft-standard-WSL2” - I have this error message "npm ERR! Linux 5.4.72-microsoft-standard-WSL2" on my terminal when I run "npm install" (当我有 JavaScript 运行 PHP 脚本时未找到 PHP 文件路径,但出现 ZDA88B4E490C14359B639CZ4A 错误); 该怎么办? - PHP file path not found when I have JavaScript run a PHP script with XMLHTTPREQUEST (404 error); what to do? 我收到 /bin/sh: [npm: not found error while executing the react image in Docker - I am getting /bin/sh: [npm: not found error while executing the react image in Docker 当我运行npm run start时出现此错误 - When I run npm run start I get this error 当我运行 npm 运行构建时出现此错误? - When I run npm run build I get this error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM