Access error while installing realm with npm

React Native

Home » Blog » Javascript » React Native » Access error while installing realm with npm

Realm is the object oriented database management system. It is an amazing alternative for SQLite and Core data. It also provides seamless integration with your local database to its cloud storage. You can visit their official website and find yourself. Their query speed is amazing. While installing the realm in the react native application it gives an error as

 

 

But as in the error its not about the permission issue. At the time of writing this post , node version 10.x.x is not compatible with the latest version of realm 2.18.x . So first downgrade your node version to 8.x.x

Once installed node version 8.x.x provide the –allow-perm=true –allow-root=true additional params with the npm save command

It will going to save realm in your local node_modules. Hope it helps.

 

 

About Author

nyasin585

×