ical.js
ical.js copied to clipboard
Unable to resolve module `fs`
If fs is a dependency, shouldn't it be required by this modules packages.json?
fs is a core Node module, so no, you don't need to require it.
Any idea why I am getting the error "Unable to resolve module fs
"
It's hard to say without more context. I assume it might be a broken Node installation, though.
I am using React Native. I think that is it.
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.