V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
horseInBlack
V2EX  ›  问与答

npm install 卡在 checking installable status

  •  
  •   horseInBlack · Mar 22, 2021 · 3067 views
    This topic created in 1870 days ago, the information mentioned may be changed or developed.
    安装过程卡在

    ...............] \ fetchMetadata: sill resolveWithNewModule [email protected] checking installable status

    过程是这样的:
    1.从 github 拉取 vue-element-admin
    2.先是开着代理直接 npm install,卡住
    3.然后 npm install --registry=https://registry.npm.taobao.org ,卡住,报错
    4.把淘宝源设置为默认源再 npm install,卡住,报错
    5.清空缓存,重新安装,报错
    6.删除 npm 、npm-cache 文件夹,重新安装,报错
    7.现在我重新找一台电脑,npm install --registry=https://registry.npm.taobao.org , 还是报错

    请问有没有人遇到类似问题,怎么解决的
    6 replies    2021-05-23 02:49:38 +08:00
    wusheng0
        1
    wusheng0  
       Mar 22, 2021 via Android
    没遇到过,报错信息有什么提示吗
    vruzo
        2
    vruzo  
       Mar 23, 2021 via iPhone
    这种情况我一般重拉代码,再用 cnpm install 试试
    defunct9
        3
    defunct9  
       Mar 23, 2021 via iPhone
    开 ssh,让我上拉
    plk403
        4
    plk403  
       Mar 23, 2021
    yarn 试试
    horseInBlack
        5
    horseInBlack  
    OP
       Mar 24, 2021
    @wusheng0
    @vruzo
    @defunct9
    @plk403

    感谢各位的回复,已经尝试过

    ·换用 yarn
    ·给 yarn 、git 、npm
    ·给 yarn 、npm 换源
    ·更换各种代理方式

    都不行,已经换用别的框架了,安装过程很顺利,可能这个框架和我冲突吧
    johnsona
        6
    johnsona  
       May 23, 2021   ❤️ 1
    先把 npm 的源切换回官方源

    然后开全局 proxy 亲测有效
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 15:43 · PVG 23:43 · LAX 08:43 · JFK 11:43
    ♥ Do have faith in what you're doing.