angular-material-fileupload icon indicating copy to clipboard operation
angular-material-fileupload copied to clipboard

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

Open DonaldY opened this issue 6 years ago • 3 comments

When i import MatFileUploadModule and npm start

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/angular-material-fileupload/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.

how can i fix it?

DonaldY avatar Apr 29 '19 04:04 DonaldY

having same issue seems a problem with angular7

mmvega avatar May 14 '19 21:05 mmvega

try adding "@angular/": ["node_modules/@angular/"] on path inside tsconfig.json

mmvega avatar May 14 '19 22:05 mmvega

Having the same issue here. I am on angular 7.2.1

stevie6410 avatar May 21 '19 15:05 stevie6410