cipchk / ngx-notify

一个无须依赖HTML模板、极简Angular通知组件。
https://cipchk.github.io/ngx-notify/
MIT License
79 stars 14 forks source link

ERROR #9

Closed gurachan closed 5 years ago

gurachan commented 5 years ago

angular 7.. import it then put it into NgModule import

ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/ngx-notify/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.

WARNING in ./node_modules/ngx-notify/node_modules/@angular/core/fesm5/core.js 4982:15-36
Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/ngx-notify/node_modules/@angular/core/fesm5/core.js 4994:15-102
Critical dependency: the request of a dependency is an expression

still works but i think this will fail on prod ....

gurachan commented 5 years ago

I'm using ngx-notify 2.0.2

gurachan commented 5 years ago

nvm putting it manually works