Electron build is not same in win10 and windows server 2019

I am using tfs to build my electron package. I see package is not getting built correctly between my machine and windows server.

Please provide me support can electron packager work as expected in windows server machines.

Thank You