You should program for the platform you plan to deploy to. If you're servers are going to be ubuntu, program on the same platform just to simplify things and avoid dependency hell.
Hello, everyone! My name is Gathsara Umesh, and I am a freelancer and full-stack engineer (specializing in JS, React, Java, HTML, CSS, PHP, and Python).
You should program for the platform you plan to deploy to. If you're servers are going to be ubuntu, program on the same platform just to simplify things and avoid dependency hell.
Thank You very Much For Your Answer..!