Skip to content

Not working with create-react-app #18

@doijunior

Description

@doijunior

I am trying to use the sdk in a pwa app created with create-react-app, but I'm getting those errors after yarn add blinktrade

The version installed of the sdk is 0.0.7

Error in ./~/blinktrade/lib/util/stun.js
Module not found: 'dgram' in /media/dados/workspace/pwa-experiment/node_modules/blinktrade/lib/util

 @ ./~/blinktrade/lib/util/stun.js 37:13-29

Error in ./~/macaddress/lib/windows.js
Module not found: 'child_process' in /media/dados/workspace/pwa-experiment/node_modules/macaddress/lib

 @ ./~/macaddress/lib/windows.js 1:11-35

Error in ./~/macaddress/lib/linux.js
Module not found: 'child_process' in /media/dados/workspace/pwa-experiment/node_modules/macaddress/lib

 @ ./~/macaddress/lib/linux.js 1:11-35

Error in ./~/macaddress/lib/unix.js
Module not found: 'child_process' in /media/dados/workspace/pwa-experiment/node_modules/macaddress/lib

 @ ./~/macaddress/lib/unix.js 1:11-35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions