V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
m939594960
V2EX  ›  问与答

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

  •  
  •   m939594960 · 2016-03-21 06:12:32 +08:00 · 2402 次点击
    这是一个创建于 2981 天前的主题,其中的信息可能已经有所发展或是发生改变。
    windows 下 某些文件路径太长了 想要压缩打包传给别人怎么办?
    npm 安装的包,一层套着一层 node_modules。
    想要把整个目录压缩起来弄到另一台电脑上。。。直接压缩会错误 该怎么办~~
    2 条回复    2016-03-21 07:23:52 +08:00
    shyling
        1
    shyling  
       2016-03-21 07:19:16 +08:00
    - npm3 的 node_modules 下的目录是平级的
    - 正确的做法是不打包 node_modules ,根据 package.json 用 npm install 安装
    m939594960
        2
    m939594960  
    OP
       2016-03-21 07:23:52 +08:00
    @shyling 嗯 知道了 谢谢~~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2099 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.