Versions. Please run ng --version
. If there's nothing outputted, please run in a Terminal: node --version
and paste the result here:
angular-cli: 1.0.0-beta.15
node: 6.4.0
os: darwin x64
ng new testapp
cd testapp
ng test
The log given by the failure. Normally this include a stack trace and some
more information.
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
45:15 Critical dependency: the request of a dependency is an expression
WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
57:15 Critical dependency: the request of a dependency is an expression
ng test
but not when doing ng build
or ng serve
Need to add ContextReplacementPlugin in test configs. A PR would be welcomed for this.
With #2362 closed, this can be closed as well, right?
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Need to add ContextReplacementPlugin in test configs. A PR would be welcomed for this.