Thanks to https://medium.com/developing-an-angular-4-web-app and https://medium.com/@lacolaco/setting-up-angular-2-testing-environment-with-karma-and-webpack-e9b833befd99!
For any difficulties and build errors, this should give everyone what they need to run headless Chrome with Karma and webpack