angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.13k stars 1.24k forks source link

Critical dependency: the request of a dependency is an expression #2703

Closed reihanian closed 6 years ago

reihanian commented 6 years ago

It was working fine before, but now when I run the client I get this warning:

WARNING in ./node_modules/@angular/core/esm5/core.js 6558:15-36 Critical dependency: the request of a dependency is an expression @ ./node_modules/@angular/core/esm5/core.js @ ./client/app/app.ts @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./client/app/app.ts

WARNING in ./node_modules/@angular/core/esm5/core.js 6578:15-102 Critical dependency: the request of a dependency is an expression @ ./node_modules/@angular/core/esm5/core.js @ ./client/app/app.ts @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./client/app/app.ts

Awk34 commented 6 years ago

It's just a warning originating from Angular. Feel free to ignore it. I know, it's annoying. Search the Angular issues for more information.