coolair
V2EX  ›  问与答

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

  •  
  •   coolair · Aug 16, 2022 · 1320 views
    This topic created in 1549 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
    BreadKiller
    Aug 16, 2022
    1
    有可能是 npm 版本的问题,试试装回 npm6
    npm install -g npm@6
    Skifary
    Skifary
    Aug 16, 2022
    2
    恰巧前几天遇到过,npm 有相关的 issue https://github.com/npm/cli/issues/4896 ,有用 yarn 或者用 ssh://和 https://替换 git://的解决方案可以试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2406 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:38 · PVG 20:38 · LAX 04:38 · JFK 07:38
    ♥ Do have faith in what you're doing.