Can not start Realm server on Windows
See original GitHub issueHello, 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.
Goals
Start a Realm server.
Expected Results
Starting of a realm server.
Actual Results
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.<anonymous> (C:\Users<localuser>\AppData\Roaming\npm\node_modules\realm-object-server\node_modules\realm-sync-server\lib\index.js:11:17) 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)
Steps to Reproduce
npm install -g realm-object-server react-native link ros start
Code Sample
Version of Realm and Tooling
- Realm JS SDK Version:
- Node or React Native: node: 8.9. react-native-cli: 2.0. react-native: 0.52.0
- Client OS & Version: Windows 10
- Which debugger for React Native: /None
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
“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.
Would be a great idea if you’d actually STATE somewhere in the docs that the server isn’t supported for Windows, lol