Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Module not found: Can't resolve 'dns' #131

@nicolasiensen

Description

@nicolasiensen

Whenever I try to require('replay') in my app, I get an error saying:

./~/replay/lib/patch_dns_lookup.js
Module not found: Can't resolve 'dns' in '/Users/nicolasiensen/Projects/t-inbox-client/node_modules/replay/lib'

I'm using create-react-app to abstract the Webpack configuration, the replay version is 2.1.2 and the node version is 7.10.0.

I've tried to install dns package, but it fails since one of its dependencies requires a very old version of node:

yarn add dns
...
error hawk@0.10.2: The engine "node" is incompatible with this module. Expected version "0.8.x".
error Found incompatible module
...

Is this a known issue? Why dns is not listed in the replay dependencies? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions