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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -