npm install with Realm hang - Solution

When installing Realm via npm, some users may experience an issue where the npm installation process hangs. A problem with the analytics can cause this that Realm sends during installation.

One solution to this issue is to disable the analytics during installation. To do this, you can use the command REALM_DISABLE_ANALYTICS=1 npm install. This sets the environment variable REALM_DISABLE_ANALYTICS to 1, which tells Realm to skip sending analytics during installation.

It's important to note that disabling analytics will not affect the functionality of Realm. It will only prevent analytics from being sent during the installation process. This can help to resolve the issue of npm hanging during the installation of Realm.

To install Realm via npm without any issues, it is best to use the command REALM_DISABLE_ANALYTICS=1 npm install instead of the usual `npm install` command.