javascript - ReferenceError: module is not defined after MUP deploy -


i'm using latest version of meteor (1.4.3.2), latest version of mup (1.2.6) , node v6.10.2 can't deploy work successfully. mup says built, deployed, , started 502 bad gateway errors when connecting web site. looking @ mup logs see there problems downloading bcrypt during deploy , app continuously failing following error in mup.js:

/bundle/bundle/programs/server/node_modules/fibers/future.js:280                                                 throw(ex);                                                 ^  referenceerror: module not defined     @ app/mup.js:1:-27     @ app/mup.js:59:4     @ /bundle/bundle/programs/server/boot.js:303:34     @ array.foreach (native)     @ function._.each._.foreach (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)     @ /bundle/bundle/programs/server/boot.js:128:5     @ /bundle/bundle/programs/server/boot.js:352:5     @ function.run (/bundle/bundle/programs/server/profile.js:510:12)     @ /bundle/bundle/programs/server/boot.js:351:11 

the undefined "module" reference in mup.js file mup init builds: "module.exports = {".

any suggestions other don't use mup? i'm deploying digitalocean running ubuntu 14.04 x64 vmlinuz-3.13.0-57-generic, not should matter.


Comments