Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to resolve module os #6

Open
Techno-Hwizrdry opened this issue Aug 29, 2020 · 1 comment
Open

Error: Unable to resolve module os #6

Techno-Hwizrdry opened this issue Aug 29, 2020 · 1 comment

Comments

@Techno-Hwizrdry
Copy link

I'm trying to import and use cryptocurrency-address-detector library in a react-native (version 0.63.2) project, like so:

import { detectCrypto } from 'cryptocurrency-address-detector';

I have even used it in a function, as described in README.md. However, when I compile my app, I get the following error:

Error: Unable to resolve module 'os' from 'node_modules/clean-stack/index.js': os could not be found within the project.

Has anyone run into this issue before? If so, how was it remediated?

@k4m4
Copy link
Owner

k4m4 commented Sep 12, 2020

Hey, @Techno-Hwizrdry! Apologies for the delayed response. I have never tried using cryptocurrency-address-detector within react-native, and I'm unsure why this error is being thrown. I'll have a look and will get back to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants