Open SamazoOo opened 5 years ago
Please tell us about your environment:
angular-azure-maps version: x.x.x
Angular version: x.x.x
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
@srednicki95 I just ran into the same issue.
It does look like an issue with the newer Angular version.
Resolution is to add paths elements to tsconfig.json
{ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "module": "es2015", "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es5", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2018", "dom" ], "paths": { "@angular/*": ["node_modules/@angular/*"] } } }
From what I have found in the web it might be related to the fact that plugin does not use latest angular version or the same as you are at the moment.
i am having the same issue
same issue please any one let know if getting any solution
ERROR in node_modules/@acaisoft/angular-azure-maps/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'. node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.