Open jamesfriedal opened 7 years ago
net and fs are node.js modules. fs is filesystem manipulation, that definitely won't work client side, not sure about net.
Any updates on this?
Facing this issue too
I think this is caused by the request module that only works for node.js environment. https://github.com/desmondmorris/node-twitter/blob/296e82ede50ddace34ad64952fdfacfe8b1c65fc/lib/twitter.js#L9
I'm creating my own fork right now since I also need this library for browser environment.
This pacakge is no longer maintained. twitter-lite works both on the client and the server.
Been trying to get this too work with React. It works on my back-end but not in React?
I'm getting a series of errors: "Can't resolve 'fs', Can't resolve 'net'" etc ...
Help would be much appreciated?