Results 381 comments of Cas_

I honestly cannot get NAPI working with this, I just end up with `Error: dlopen failed: cannot locate symbol "napi_get_cb_info" referenced by *path*`

I was trying to build utp-native from npm for arm64 android, this worked for node 18 but doesn't seem to for node 24

yep ofc index.js ```js require('utp-naive') ```

and yes I do use nodejs's mobile node-gyp to rebuild https://github.com/hayase-app/capacitor/blob/main/public/nodejs/setup-deps.sh#L39 the full error on android is: ``` Error: dlopen failed: cannot locate symbol "napi_get_cb_info" referenced by "/data/data/app.id/files/nodejs/public/node_modules/utp-native/prebuilds/android-arm64/node.napi.node" at Module._extensions..node...

yes this is also what i do as you can see in the link i sent in my previous message, and it worked for nodejs mobile on node18 but not...

the problem isn't caused by the module, it's caused by these patches, which is why I'm commenting here, not on stack overflow, because as I said on the nodejs18 base...

@jsamol as I said I provided the reproduction steps above, you can see the script in here: https://github.com/hayase-app/capacitor/blob/main/public/nodejs/setup-deps.sh, the code to reproduce the issue is legitimately just `require('utp-naive')` which you'd...

problem is these patches are broken, NAPI and fetch doesn't work correctly

@jsamol what u said, doesnt work on IOS, but not the fault of these patches, but NAPI aka native bindings don't work with these patches as I've mentioned previously, I...

it's one of the things i fixed in ##324 ;-;