While working on one of my Angular 4 apps, the transpiled output was displaying this on our production website that utilizes Docker NGINX:1.13
I’ve been using Yarn as my default package manager for many of my Angular web applications. I’ve experimented several techniques, and ultimately found that if I used “npm install” instead of “yarn install“, my web application worked under Docker nginx:1.13.
Sources: GitHub