You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run : ng serve
Error:
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/angular4-events/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
The text was updated successfully, but these errors were encountered:
I've uploaded two new versions that should fix this issue with yarn. There was a version mismatch between the Angular lib of your project and the Angular lib required by the module.
Can you check if it works on your side?
yarn upgrade angular4-events@5.0.2 # for Angular 6
yarn upgrade angular4-events@8.0.0 # for Angular 8
Angular version: 5.1.0
angular4-events: 5.0.0
when I run : ng serve
Error:
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/angular4-events/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
The text was updated successfully, but these errors were encountered: