MyLady
V2EX  ›  Node.js

nodejs 打包 exe 问题

  •  
  •   MyLady · Jul 17, 2015 · 6457 views
    This topic created in 3964 days ago, the information mentioned may be changed or developed.

    用node写了一个console app,其中涉及到了serialport,xml2json这些native module,试了各种工具
    nexe
    enclose
    jxcore
    打包成功后都在调用native module的时候挂掉了..
    有没有大神做过相关的东西,求指点
    跪谢..Orz

    5 replies    2015-07-28 10:02:42 +08:00
    jadecoder
        1
    jadecoder  
       Jul 17, 2015
    node-webkit试过没有
    MyLady
        2
    MyLady  
    OP
       Jul 17, 2015
    @jadecoder nw的包好像必须带gui的,命令行的好像不行
    MyLady
        4
    MyLady  
    OP
       Jul 17, 2015
    @jadecoder 好的我去试一下,不过因为用到native module还要用nw-gyp重新编译呢-.-
    jiangzhuo
        5
    jiangzhuo  
       Jul 28, 2015
    贴一下挂掉的log 我打包native的时候没有挂过啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 03:21 · PVG 11:21 · LAX 20:21 · JFK 23:21
    ♥ Do have faith in what you're doing.