az09py
V2EX  ›  Node.js

npm 间接依赖包更新问题

  •  
  •   az09py · Aug 19, 2019 · 5585 views
    This topic created in 2529 days ago, the information mentioned may be changed or developed.

    项目不是直接依赖的 test-01,项目的依赖里只有 test:^x.x.x,test 里才依赖的 test-01:^x.x.x 现在 test-01 发布了一个新版本。 项目 package.json 和 test 的 package.json 都没改,但是执行 npm i 一直下不到最新版本。正确的姿势应该是怎样呢 npm 版本 6.4.1

    1 replies    2019-08-19 15:49:42 +08:00
    hoythan
        1
    hoythan  
       Aug 19, 2019
    rm -rf node_modules && npm install
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5106 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 03:54 · PVG 11:54 · LAX 20:54 · JFK 23:54
    ♥ Do have faith in what you're doing.