由于 http://blip.strongloop.com/ 离线导致 yarn 安装失败

yarn install failing due to http://blip.strongloop.com/ being offline

纱线安装

纱线升级

导致此错误:

[1/4]   Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://blip.strongloop.com/zone@0.3.4: getaddrinfo ENOTFOUND blip.strongloop.com".
info If you think this is a bug, please open a bug report with the information provided in "/Users/ff/projects/network_tools_portal/network_tools_portal_ui/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.

错误日志包含以下附加信息:

  zone.js@~0.10.3:
    version "0.10.3"
    resolved "https://registry.npmjs.org/zone.js/-/zone.js-0.10.3.tgz"
    integrity sha512-LXVLVEq0NNOqK/fLJo3d0kfzd4sxwn2/h67/02pjCjfKDxgx1i9QqpvtHD8CrBnSSwMw5+dy11O7FRX5mkO7Cg==
  
  zone.js@~0.11.4:
    version "0.11.5"
    resolved "https://registry.npmjs.org/zone.js/-/zone.js-0.11.5.tgz"
    integrity sha512-D1/7VxEuQ7xk6z/kAROe4SUbd9CzxY4zOwVGnGHerd/SgLIVU5f4esDzQUsOCeArn933BZfWMKydH7l7dPEp0g==
    dependencies:
      tslib "^2.3.0"
  
  zone@^0.3.4:
    version "0.3.4"
    resolved "https://registry.npmjs.org/zone/-/zone-0.3.4.tgz"
    integrity sha1-XshPKNHiYftrLpoDHMrOZOnH3ec=
    optionalDependencies:
      sl-blip "http://blip.strongloop.com/zone@0.3.4"

似乎可选依赖项 sl-blip 是问题所在。它似乎不再出现在互联网上。任何帮助将不胜感激

顺便说一句,这里没有代理。

最后,我从等式中删除了 Yarn 并进行了 npm 更新,问题就消失了。