Skip to content

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

@lydialim

Description

@lydialim

Bug Report or Feature Request (mark with an x)


[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Current behavior

Compiler return these warnings:

WARNING in ./node_modules/ngx-countdown/node_modules/@angular/core/fesm2015/core.js
6202:15-36 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/ngx-countdown/node_modules/@angular/core/fesm2015/core.js
6218:15-102 Critical dependency: the request of a dependency is an expression

The workaround I had was to remove @angular/core from ngx-coutdown/node_modules manually. It looks to be the same issue as danrevah/ngx-pipes#45

Expected behavior

No warnings

Environment


Angular version: 6.0.3

ngx-countdown version: 3.0.1

Browser:
- [x] Chrome (desktop) version 66.0.3359
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions