One npm module for different instruction set

I have a project developed on node.js. Development takes place on two different machines: one bit x32, on the other - x64. The problem is that some npm-modules have conflicts if they run in different environments.

For example, dNode. I installed it on a machine with 32 bit, but on the computer with the bit shch this module throws an error. I can somehow control this process?

Add the dependencies to your package.json then use npm install on the target machine. If the module has special arch features, it will install it during the npm install. Do not ship the module with your codebase.