Cannot find module error when deploy nodejs application outside realm-object-server machine


Dear all,
Im trying to separate nodejs application and realm object server into 2 systems.
Unfortunately, i get exceptions, please take a look:

Error: Cannot find module ‘…/compiled/darwin-x64/node-v47/realm-node.node’
at Function.Module._resolveFilename (module.js:327:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at Object. (…/Server/node_modules/realm/lib/index.js:22:15)
at Module._compile (module.js:399:26)
at Object.Module._extensions…js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)

I use the example from

It’s ok If i put nodejs application in realm-object-server machine

Thank you so much for your time.
Best regards,


Realm suggest to use nodejs 6.10.3 and it works for me!

Thank you so much.
Best regards,


please use node 6.10