账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    为什么我的yarn用不了了?
    59
    0

    yarn create umi 的时候发现yarn总是失败。。

    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...
    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...
    info There appears to be trouble with your network connection. Retrying...
    error An unexpected error occurred: "https://registry.npm.taobao.org/rxjs/download/rxjs-6.5.3.tgz: ESOCKETTIMEDOUT".
    info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\damia\\AppData\\Local\\Yarn\\Data\\global\\yarn-error.log".
    info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
    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...
    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...
    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: "https://registry.npm.taobao.org/core-js/download/core-js-2.6.10.tgz: ESOCKETTIMEDOUT".
    info If you think this is a bug, please open a bug report with the information provided in "C:\\svnMyProject\\council-admin-vue-new-180127\\yarn-error.log".
    info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

    原来的源和淘宝源都不行。
    请问这是什么原因?是yarn的问题还是我家网的问题?(顺便我用手机开热点试了一下,也不行)

    0
    打赏
    收藏
    点击回答
    您的回答被采纳后将获得:提问者悬赏的 11 元积分
        全部回答
    • 0
    • 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部