m939594960
V2EX  ›  问与答

windows 下 某些文件路径太长了 想要压缩打包传给别人怎么办

  •  
  •   m939594960 · Mar 21, 2016 · 2788 views
    This topic created in 3797 days ago, the information mentioned may be changed or developed.
    windows 下 某些文件路径太长了 想要压缩打包传给别人怎么办?
    npm 安装的包,一层套着一层 node_modules。
    想要把整个目录压缩起来弄到另一台电脑上。。。直接压缩会错误 该怎么办~~
    2 replies    2016-03-21 07:23:52 +08:00
    shyling
        1
    shyling  
       Mar 21, 2016
    - npm3 的 node_modules 下的目录是平级的
    - 正确的做法是不打包 node_modules ,根据 package.json 用 npm install 安装
    m939594960
        2
    m939594960  
    OP
       Mar 21, 2016
    @shyling 嗯 知道了 谢谢~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3313 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 11:08 · PVG 19:08 · LAX 04:08 · JFK 07:08
    ♥ Do have faith in what you're doing.