Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

Unable to resolve module fs #23

Open
@helgahjartar

Description

@helgahjartar

Hello,

I'm getting the following error when I try to run the metro bundler after adding react-native-config-node to my project:

error: Error: Unable to resolve module fs from ../node_modules/react-native-config-node/index.js: fs could not be found within the project or in these directories: node_modules

The suggested solution is removing node_modules, re-installing and clearing the cache, which I've tried and it hasn't worked.
Any ideas?

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