When I do karma unit test in Angular5, I have some issues.
Chrome 63.0.3239 (Windows 7 0.0.0): Executed 3 of 29 SUCCESS (0 secs / 2.516 secs) Chrome 63.0.3239 (Windows 7 0.0.0) ERROR Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ng:///DynamicTestModule/FollowersItemComponent_Host.ngfactory.js'. Chrome 63.0.3239 (Windows 7 0.0.0) ERROR Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ng:///DynamicTestModule/FollowersItemComponent_Host.ngfactory.js'.
at http://localhost:9876/_karma_webpack_/polyfills.bundle.js:2281 Chrome 63.0.3239 (Windows 7 0.0.0): Executed 3 of 29 ERROR (0 secs / 2.516 secs) Chrome 63.0.3239 (Windows 7 0.0.0) ERROR Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ng:///DynamicTestModule/FollowersItemComponent_Host.ngfactory.js'. Chrome 63.0.3239 (Windows 7 0.0.0): Executed 3 of 29 ERROR (2.546 secs / 2.516 secs)
I am not sure why this problem happened. Please help me. Thanks.