realm / realm-object-server

Tracking of issues related to the Realm Object Server and other general issues not related to the specific SDK's
https://realm.io
293 stars 42 forks source link

Error: Cannot find module '/usr/local/lib/node_modules/realm-object-server/node_modules/realm/compiled/node-v59_darwin_x64/realm.node' #323

Closed michaelcordero closed 6 years ago

michaelcordero commented 6 years ago

Goals

Initialize realm object server.

Expected Results

Realm object server command to create a realm server.

Actual Results

module.js:544 throw err; ^

Error: Cannot find module '/usr/local/lib/node_modules/realm-object-server/node_modules/realm/compiled/node-v59_darwin_x64/realm.node' at Function.Module._resolveFilename (module.js:542:15) at Function.Module._load (module.js:472:25) at Module.require (module.js:585:17) at require (internal/module.js:11:18) at Object. (/usr/local/lib/node_modules/realm-object-server/node_modules/realm/lib/index.js:102:28) at Module._compile (module.js:641:30) at Object.Module._extensions..js (module.js:652:10) at Module.load (module.js:560:32) at tryModuleLoad (module.js:503:12) at Function.Module._load (module.js:495:3)

Steps to Reproduce

  1. npm install -g realm-object-server
  2. ros init myapp

Code Sample

Version of Realm and Tooling

Logs

systemctl status realm-object-server.service Paste output here
sudo journalctl -u realm-object-server.service Paste output here
cat /var/log/realm-object-server.log Paste output here
michaelcordero commented 6 years ago

Following the pre-requisites installation instructions resolved the error. Please close this issue.