staltz / bindings-noderify-nodejs-mobile

Helper module for loading your native module's .node file
MIT License
3 stars 1 forks source link

Could not locate the bindings file for utp-native-nodejs-mobile #1

Open calm-rad opened 4 years ago

calm-rad commented 4 years ago

Hi! I'm running a react-native app on iOS through Xcode that uses this package and utp-native-nodejs-mobile on nodejs-mobile, but I get an error saying that utp_native.node can't be located.

I checked my app's node_modules in the build folder issue seems to be that the utp_native.node file is never created.

So this is actually a problem with utp-native-nodejs-mobile, but that repo doesn't haven't an issues tab and you made both libraries so I figured here would be the most relevant place to ask for help :)

I also tried testing Manyverse on my device since I'm using the same build-backend setup, and it didn't seem to create a utp_native.node file in its node_modules either, but the app runs without any issues

Any idea what might be going on?

calm-rad commented 4 years ago

It appears that other libraries like leveldown-nodejs-mobile and sodium-native-nodejs-mobile generate their .node files when building, but utp-native-nodejs-mobile is the only one that doesn’t

I also tested regular utp-native, which produced its .node file but did not have the right binaries