If I import any npm package into main.js it crashes in simulator. Otherwise works fine. This is an ejected expo project.
currently only trying to use http and express packages, which I installed into the ./nodejs-assets/nodejs-project
directory and the projects package.json. (Not sure where it should go)
I am also using RN-nodeify which I used to get rid of errors (crypto randombytes) that I encountered when installing this package.
If I import any npm package into main.js it crashes in simulator. Otherwise works fine. This is an ejected expo project. currently only trying to use http and express packages, which I installed into the ./nodejs-assets/nodejs-project directory and the projects package.json. (Not sure where it should go)
I am also using RN-nodeify which I used to get rid of errors (crypto randombytes) that I encountered when installing this package.