'Do I need to cross compile the Node JS PAM module?
I need to install a PAM authentication module on a Node Js server that run on an ARM based architecture. I can't use npm to install modules on my target because the board is not connected to the internet, but only to a local network. In order to manually install a node js module I know that in most cases is sufficient to download the packet containing the files and move it under the "node_modules" folder. But in the case of the node-linux-pam module, there is also an executable, that is obviously build for the specific architecture. In this case, I can't simply copy and paste from an architecture to another, because it won't work. Which is the solution here? Have I to cross-compile the module? I couldn't find any references online that talk about cross-compiling modules for node js.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
