Hello,
I am just starting to learn React Native and am now trying to solve the server side of the application I am building. After a bit of searching around it seemed like Realm was the way to go. I have now encountered the described problem and do not know how to proceed. Thank you for your time.
Start a Realm server.
Starting of a realm server.
Error descriped below.
Error: Cannot find module '../compiled/win32-x64/node-v57/realm-sync-server.node'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
npm install -g realm-object-server
react-native link
ros start
@NoaSironen Which version of Realm JavaScript do you use?
@kneth Since the project was on a deadline we did not have time to solve this and moved on to another database option. Thank you for your comment.
Realm Object Server does not support Windows. You can, however, run it inside Docker for Windows.
@fealebenpae This issue is now closed as we moved on to another database option. Thank your time and help.
Would be a great idea if you'd actually STATE somewhere in the docs that the server isn't supported for Windows, lol
Stated here:
https://docs.realm.io/platform/self-hosted/installation#supported-operating-systems
Stated here:
https://docs.realm.io/platform/self-hosted/installation#supported-operating-systems
_"Page not found"_
I know I'm late on this topic but today the documentation still contains dead links and looping links. I may have read it wrong, but I did not realize self-hosted servers were not supported for Windows users. I guess I have to use a cloud hosted one.
Most helpful comment
_"Page not found"_
I know I'm late on this topic but today the documentation still contains dead links and looping links. I may have read it wrong, but I did not realize self-hosted servers were not supported for Windows users. I guess I have to use a cloud hosted one.