sjitech / build-nodejs-for-android

Build nodejs for android(arm,arm64,x86,x64,mipsel) perfectly and provide prebuilt binaries, and a docker image as workbench.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm and native module building?

dashxdr opened this issue · comments

commented

Is it possible to install npm modules like termios?
https://github.com/Gottox/node-termios

It is a binary that gets loaded with the dlopen machinery... which seems to require lots of shared libraries (which android doesn't have).

commented
commented

I think npm would only work to install native js modules, anything that requires c++ compilation to binary wouldn't have a chance of working. The infrastructure for compiling just isn't there under android.

commented