node.js - Unable to install grpc binaries -


i trying run node.js app on azure.

to that, need download node_modules on local machine, copy of them (along app) azure.

one of packages in project grpc. during installation, creates binary file on local machine named node-v57-win32-x64\grpc_node.node.

when try run app on azure crashes because can't find file called node-v46-win32-ia32\grpc_node.node.

as can see, there 2 differences in filenames.

i couldn't figure out v46 , v57 stands for. also, how build ia32 while i'm on x64 machine?

in filename, "v57" , "v46" refer node internal version numbers match node major versions (for part). in particular case, "v46" corresponds node 4.x, , "v57" corresponds node 8.x. so, should able force installation of binary installing following command:

npm install --target=4.0.0 --target_arch=ia32 

Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -