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