Closed JavaDumb closed 5 years ago
Hi,
You're trying to use Node.js libraries (in this case, net
) in a "browser" environment. That is not possible.
You could create the front-end with React Native, and then create an API in Node.js that uses this library and call it from your front-end. So answering your questions:
Hello, I am trying to use this library within React Native. Using the import of 'emailjs-imap-client' within the application throws error: Error: Unable to resolve module
net
from<Directory>/ReactNative/Testing/Login/node_modules/emailjs-tcp-socket/dist/node-socket.js
: Modulenet
does not exist in the Haste module mapQuestion:
Thanks