darasion
V2EX  ›  Node.js

有没有 npm 离线安装解决方案?

  •  
  •   darasion · Oct 1, 2013 · 8202 views
    This topic created in 4786 days ago, the information mentioned may be changed or developed.
    6 replies  •  1970-01-01 08:00:00 +08:00
    hxgdzyuyi
    hxgdzyuyi
    Oct 1, 2013
    1
    npm install <tarball file>
    sxd
    sxd
    Oct 1, 2013
    2
    把npm仓库镜像下来 更换源
    darasion
    darasion
    OP
    Oct 1, 2013
    3
    @hxgdzyuyi
    @sxd
    有具体如何做的文档吗?
    mantianyu
    mantianyu
    Oct 1, 2013
    4
    为何要离线安装呢? 把模块放到 node_modules 里, 安装都省了...
    hxgdzyuyi
    hxgdzyuyi
    Oct 14, 2013
    5
    @darasion npm help install
    XiNGRZ
    XiNGRZ
    Oct 27, 2013 via iPad
    6
    @mantianyu 不总是行得通的,因为有些二进制模块需要编译。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3682 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 01:30 · PVG 09:30 · LAX 17:30 · JFK 20:30
    ♥ Do have faith in what you're doing.