Realm-js: Using Realm with Electron, React and Webpack on macOS

Created on 11 Nov 2017  路  4Comments  路  Source: realm/realm-js

Hello,
I want to use Realm in an electron app with react, bundled by webpack. I'm developing on an mac with nodejs version 8.9.0.

I'm able to bundle the app, but in the development console within the electron app, I get the following error:
Cannot find module '/Users/henrikengelbrink/Coden/imageSwiping/node_modules/realm/compiled/electron-v1.7_darwin_x64/realm.node'

T-Help

Most helpful comment

Realm Studio is an Electron app, and you are welcome to see how we are using Realm JS and Electron together.

All 4 comments

As mentioned in https://blog.realm.io/native-performance-electron-realm/, we don't support Realm for Electron as a product but we hope that the community will step up. I will suggest you ask at Stack Overflow where you will find a much large community of Electron developers. Our Github repositories are primarily used to report bugs.

Realm Studio is an Electron app, and you are welcome to see how we are using Realm JS and Electron together.

Hi @kneth , I have some questions about how to use Realm with Webpack for our Electron app. Where is the best place to ask those?

@rajivshah3 StackOverflow - hopefully someone is able to help you there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emrehayirci picture emrehayirci  路  3Comments

laznrbfe picture laznrbfe  路  3Comments

ashah888 picture ashah888  路  3Comments

kontinuity picture kontinuity  路  3Comments

CrystalRanita picture CrystalRanita  路  3Comments