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

Unable to resolve module fs #80

Open
agersoncgps opened this issue Oct 7, 2017 · 5 comments
Open

Unable to resolve module fs #80

agersoncgps opened this issue Oct 7, 2017 · 5 comments

Comments

@agersoncgps
Copy link

If fs is a dependency, shouldn't it be required by this modules packages.json?

@takkaria
Copy link
Contributor

takkaria commented Oct 8, 2017

fs is a core Node module, so no, you don't need to require it.

@agersoncgps
Copy link
Author

agersoncgps commented Oct 8, 2017

Any idea why I am getting the error "Unable to resolve module fs"

@takkaria
Copy link
Contributor

takkaria commented Oct 9, 2017

It's hard to say without more context. I assume it might be a broken Node installation, though.

@agersoncgps
Copy link
Author

I am using React Native. I think that is it.

@Sw0rdstream
Copy link

Sw0rdstream commented Dec 17, 2017

A temporary solution for RN is to directly paste ical.js into your project and require it.

The reason is that RN doesn't have fs implemented.

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

3 participants