0

Is node-gyp requires VS on Windows after building app for distribution, or this requirement only for development?

ipatina
  • 133
  • 1
  • 6
  • node-gyp is a build tool so is a requirement when building – Davin Tryon Sep 29 '16 at 11:18
  • so if I build my app that uses node-gyp on Ubuntu, it will work ok on Windows without any requirements? – ipatina Sep 29 '16 at 11:49
  • No, that is not the case. node-gyp compiles native C code. So, if you compile on one architecture it won't necessarily work on another. So OSX -> Ubuntu -> Windows is not always compatible. – Davin Tryon Sep 29 '16 at 14:08
  • Running inside a container (like Docker) can help here. Because you can build *inside* the container and target the prod architecture. Good luck! – Davin Tryon Sep 29 '16 at 15:12

0 Answers0