Critical dependency: the request of a dependency is an expression
In the Angular 7 app, I have this warning in the console.
./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 17170:15-36 Critical dependency: the request of a dependency is an expression
I have the same warning in Angular 6. with an extra warning:
./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 17182:15-102 Critical dependency: the request of a dependency is an expression
Same here, I get the following:
WARNING in ./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 18261:15-36
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 18273:15-102
Critical dependency: the request of a dependency is an expression
I am using the following:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.2.6
Node: 8.11.3
OS: darwin x64
Angular: 6.1.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.10.3
@angular-devkit/build-angular 0.10.3
@angular-devkit/build-optimizer 0.10.3
@angular-devkit/build-webpack 0.10.3
@angular-devkit/core 7.0.3
@angular-devkit/schematics 0.8.6
@angular/cdk 6.4.7
@angular/cli 6.2.6
@angular/material 6.4.7
@ngtools/webpack 7.0.3
@schematics/angular 0.8.6
@schematics/update 0.8.6
rxjs 6.3.3
typescript 2.7.2
webpack 4.19.1
Is that active?
+1 Same warning in Angular 4.4.6.
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.1.4
Node: 11.3.0
OS: win32 x64
Angular: 7.1.4
... cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.800.0-beta.10
@angular-devkit/build-angular 0.800.0-beta.10
@angular-devkit/build-optimizer 0.800.0-beta.10
@angular-devkit/build-webpack 0.800.0-beta.10
@angular-devkit/core 7.1.4
@angular-devkit/schematics 7.1.4
@angular/animations 7.2.11
@angular/cdk 7.3.6
@angular/material 7.3.6
@angular/pwa 0.13.7
@ngtools/webpack 8.0.0-beta.10
@schematics/angular 7.3.7
@schematics/update 0.11.4
rxjs 6.3.3
typescript 3.1.6
webpack 4.29.6
I thought maybe causing angular beta packages problem. @celestale Try upgrade 7.x angular core packages. This is probably solution.
Are there a version where I can use in this module for angular 4.x?
On 3 Apr 2019, at 3:04 PM, Murat Çimen [email protected] wrote:
_ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|/ △ \ | '_ \ /
| | | | |/ _| '__| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/Angular CLI: 7.1.4 Node: 11.3.0 OS: win32 x64 Angular: 7.1.4 ... cli, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router, service-worker
Package Version
@angular-devkit/architect 0.800.0-beta.10 @angular-devkit/build-angular 0.800.0-beta.10 @angular-devkit/build-optimizer 0.800.0-beta.10 @angular-devkit/build-webpack 0.800.0-beta.10 @angular-devkit/core 7.1.4 @angular-devkit/schematics 7.1.4 @angular/animations 7.2.11 @angular/cdk 7.3.6 @angular/material 7.3.6 @angular/pwa 0.13.7 @ngtools/webpack 8.0.0-beta.10 @schematics/angular 7.3.7 @schematics/update 0.11.4 rxjs 6.3.3 typescript 3.1.6 webpack 4.29.6
I thought maybe causing angular beta packages problem. @celestale Try upgrade 7.x angular core packages. This is probably solution.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Getting the same here... using angular 7 cli app, installed ngx-web-worker, and got this: WARNING in ./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 18261:15-36 Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/ngx-web-worker/node_modules/@angular/core/fesm5/core.js 18273:15-102 Critical dependency: the request of a dependency is an expression
Help???