I'm seeing this in your karma configuration, webpack is listed by it's self no property.
config.set({
webpack,
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
It should probably be webpack : webpack. Either way it's invalid.