coolair
V2EX  ›  问与答

node.js 从 14 升级到 16 以后,从 git 安装包一直不成功,大家遇到过吗?

  •  
  •   coolair · Aug 16, 2022 · 1193 views
    This topic created in 1453 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Aug 16, 2022
    类似这样:
    reify:core-js: timing reifyNode:node_modules/babel-runtime/node_modules/core-js
    2 replies    2022-08-16 14:33:15 +08:00
    BreadKiller
        1
    BreadKiller  
       Aug 16, 2022
    有可能是 npm 版本的问题,试试装回 npm6
    npm install -g npm@6
    Skifary
        2
    Skifary  
       Aug 16, 2022
    恰巧前几天遇到过,npm 有相关的 issue https://github.com/npm/cli/issues/4896 ,有用 yarn 或者用 ssh://和 https://替换 git://的解决方案可以试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2941 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:10 · PVG 15:10 · LAX 00:10 · JFK 03:10
    ♥ Do have faith in what you're doing.