coolair
V2EX  ›  问与答

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

  •  
  •   coolair · Aug 16, 2022 · 1201 views
    This topic created in 1457 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   ·   4783 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 84ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
    ♥ Do have faith in what you're doing.