Can't run Realm with React not native -


created react app react-create-app. installed realm , included it. following error:

module not found: can't resolve 'react-native' in ./node_modules/realm/lib/browser/index.js'

it's true file requires react-native application isn't react native, it's react. installing react-native module anyway not solve this.

i've tried use include realm in simple javascript file , run node (no react included). worked. cause fail in project? start script using?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -