Angular Error: Can't resolve 'child_process'
# Bug Report

First of all, thanks to all contributors for creating and maintaining this API! It looks really good.

I'm trying to implement this API into Angular 10, but I'm stumbling into an error. I'm actually not even sure if this API is supposed to work in Angular, so if it isn't, please tell me!

### Describe the Bug
When serving Angular and importing the RingApi, I'm getting a compilation error: 
`Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/node-machine-id/dist'`.

### To Reproduce
- Install ring-client-api in an Angular project directory by running `npm i ring-client-api`.
- Import the ring-client-api in the `app.module.ts` file.
- Serve the Angular app

### Expected behavior
It should just load the ring-client-api without any errors.

### Screenshots/Logs

Error in web browser
```
Failed to compile.

./node_modules/node-machine-id/dist/index.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/node-machine-id/dist'
```

Terminal logs:
```

ERROR in ./node_modules/node-machine-id/dist/index.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/node-machine-id/dist'

ERROR in ./node_modules/ring-client-api/lib/api/ffmpeg.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/lib/api'

ERROR in ./node_modules/ring-client-api/node_modules/cross-spawn/index.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/cross-spawn'

ERROR in ./node_modules/ring-client-api/node_modules/execa/index.js
Module not found: Error: Can't resolve 'child_process' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/execa'

ERROR in ./node_modules/node-machine-id/dist/index.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/node-machine-id/dist'

ERROR in ./node_modules/ring-client-api/lib/api/rtp-utils.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/lib/api'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/stun/src/node_modules/lib/validate.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/lib'

ERROR in ./node_modules/stun/src/node_modules/lib/create-message.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/lib'

ERROR in ./node_modules/stun/src/node_modules/message/request.js
Module not found: Error: Can't resolve 'crypto' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/message'

ERROR in ./node_modules/ring-client-api/lib/api/rtp-utils.js
Module not found: Error: Can't resolve 'dgram' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/lib/api'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'dgram' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/stun/src/node_modules/net/create-server.js
Module not found: Error: Can't resolve 'dgram' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/net'

ERROR in ./node_modules/cacheable-lookup/source/index.js
Module not found: Error: Can't resolve 'dns' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/cacheable-lookup/source'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'dns' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/ffmpeg-for-homebridge/index.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ffmpeg-for-homebridge'

ERROR in ./node_modules/got/dist/source/core/index.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core'

ERROR in ./node_modules/got/dist/source/core/utils/get-body-size.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core/utils'

ERROR in ./node_modules/isexe/index.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/isexe'

ERROR in ./node_modules/isexe/mode.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/isexe'

ERROR in ./node_modules/isexe/windows.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/isexe'

ERROR in ./node_modules/ring-client-api/node_modules/cross-spawn/lib/util/readShebang.js
Module not found: Error: Can't resolve 'fs' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/cross-spawn/lib/util'

ERROR in ./node_modules/got/dist/source/core/index.js
Module not found: Error: Can't resolve 'http' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core'

ERROR in ./node_modules/http2-wrapper/source/auto.js
Module not found: Error: Can't resolve 'http' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/http2-wrapper/source/index.js
Module not found: Error: Can't resolve 'http2' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/http2-wrapper/source/agent.js
Module not found: Error: Can't resolve 'http2' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/http2-wrapper/source/client-request.js
Module not found: Error: Can't resolve 'http2' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/got/dist/source/core/index.js
Module not found: Error: Can't resolve 'https' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core'

ERROR in ./node_modules/http2-wrapper/source/auto.js
Module not found: Error: Can't resolve 'https' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'https' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/get-port/index.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/get-port'

ERROR in ./node_modules/got/dist/source/core/utils/timed-out.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core/utils'

ERROR in ./node_modules/http2-wrapper/source/utils/calculate-server-name.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source/utils'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/stun/src/node_modules/attributes/stun-address-attribute.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/attributes'

ERROR in ./node_modules/stun/src/node_modules/attributes/stun-xor-address-attribute.js
Module not found: Error: Can't resolve 'net' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/stun/src/node_modules/attributes'

ERROR in ./node_modules/cacheable-lookup/source/index.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/cacheable-lookup/source'

ERROR in ./node_modules/colors/lib/system/supports-colors.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/colors/lib/system'

ERROR in ./node_modules/ffmpeg-for-homebridge/index.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ffmpeg-for-homebridge'

ERROR in ./node_modules/human-signals/build/src/main.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/human-signals/build/src'

ERROR in ./node_modules/human-signals/build/src/signals.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/human-signals/build/src'

ERROR in ./node_modules/ip/lib/ip.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ip/lib'

ERROR in ./node_modules/ring-client-api/node_modules/execa/lib/kill.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/execa/lib'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'os' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/ffmpeg-for-homebridge/index.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ffmpeg-for-homebridge'

ERROR in ./node_modules/ring-client-api/node_modules/cross-spawn/lib/parse.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/cross-spawn/lib'

ERROR in ./node_modules/ring-client-api/node_modules/cross-spawn/lib/util/resolveCommand.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/cross-spawn/lib/util'

ERROR in ./node_modules/ring-client-api/node_modules/execa/index.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/execa'

ERROR in ./node_modules/ring-client-api/node_modules/npm-run-path/index.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/npm-run-path'

ERROR in ./node_modules/ring-client-api/node_modules/which/which.js
Module not found: Error: Can't resolve 'path' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/which'

ERROR in ./node_modules/ring-client-api/lib/api/util.js
Module not found: Error: Can't resolve 'readline' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/lib/api'

ERROR in ./node_modules/binary-data/src/node_modules/lib/binary-stream.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/binary-data/src/node_modules/lib'

ERROR in ./node_modules/clone-response/src/index.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/clone-response/src'

ERROR in ./node_modules/got/dist/source/core/index.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/dist/source/core'

ERROR in ./node_modules/got/node_modules/decompress-response/index.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/node_modules/decompress-response'

ERROR in ./node_modules/http2-wrapper/source/client-request.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/http2-wrapper/source/incoming-message.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/merge-stream/index.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/merge-stream'

ERROR in ./node_modules/responselike/src/index.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/responselike/src'

ERROR in ./node_modules/ring-client-api/node_modules/get-stream/buffer-stream.js
Module not found: Error: Can't resolve 'stream' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/ring-client-api/node_modules/get-stream'

ERROR in ./node_modules/defer-to-connect/dist/source/index.js
Module not found: Error: Can't resolve 'tls' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/defer-to-connect/dist/source'

ERROR in ./node_modules/http2-wrapper/source/agent.js
Module not found: Error: Can't resolve 'tls' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/http2-wrapper/source'

ERROR in ./node_modules/resolve-alpn/index.js
Module not found: Error: Can't resolve 'tls' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/resolve-alpn'

ERROR in ./node_modules/sip/sip.js
Module not found: Error: Can't resolve 'tls' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/sip'

ERROR in ./node_modules/got/node_modules/decompress-response/index.js
Module not found: Error: Can't resolve 'zlib' in '/Users/jeremy/Desktop/Ring-Test/Ring-Test/node_modules/got/node_modules/decompress-response'

ERROR in ./node_modules/ring-client-api/media/latch.mp4 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
    
    ERROR in node_modules/ring-client-api/lib/api/location.d.ts:31:33 - error TS2503: Cannot find namespace 'SocketIOClient'.
    
    31     connectionPromise?: Promise<SocketIOClient.Socket>;
                                       ~~~~~~~~~~~~~~
    node_modules/ring-client-api/lib/api/location.d.ts:46:33 - error TS2503: Cannot find namespace 'SocketIOClient'.
    
    46     createConnection(): Promise<SocketIOClient.Socket>;
                                       ~~~~~~~~~~~~~~
    node_modules/ring-client-api/lib/api/location.d.ts:47:30 - error TS2503: Cannot find namespace 'SocketIOClient'.
    
    47     getConnection(): Promise<SocketIOClient.Socket>;
                                    ~~~~~~~~~~~~~~
    node_modules/ring-client-api/lib/api/location.d.ts:1:23 - error TS2688: Cannot find type definition file for 'socket.io-client'.
    
    1 /// <reference types="socket.io-client" />
                            ~~~~~~~~~~~~~~~~

```

### Additional context
I used a fresh/new Angular project to test this out.

### Environment
 - OS: Mac OS 10.15.4
 - Node.js: 13.7.0
 - NPM: 6.13.6
 - ring-client-api: 9.6.0
