Mupx deployment failure from windows to linux with npm gsm-modem (serialport wrapper)


Hi All

I have the gsm-modem npm package working locally on windows with meteor version
Unfortunately I haven’t once been able to deploy to an ubuntu server with mupx.

If anyone could share some ideas, it would be much appreciated.
I am hoping that worst case it is a windows build issue, but that means I will need to waste a few hours setting up an ubuntu vm just to do deployments.

Mupx logs:

Verifying deployment: FAILED


    npm WARN cannot run in wd meteor-dev-bundle@0.0.0 node npm-rebuild.js (wd=/bundle/bundle/programs/server)
    => Starting meteor app on port:80

    **Error: Cannot find module '/bundle/bundle/programs/server/npm/node_modules/gsm-modem/node_modules/serialport/build/serialport/v1.4.10/Release/node-v11-linux-x64/serialport.node'**
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/bundle/bundle/programs/server/npm/node_modules/gsm-modem/node_modules/serialport/serialport.js:14:25)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)