crisbeto / angular-svg-round-progressbar

Angular module that uses SVG to create a circular progressbar
https://crisbeto.github.io/angular-svg-round-progressbar/
MIT License
741 stars 173 forks source link

Metadata version mismatch for module #146

Closed nik0405 closed 6 years ago

nik0405 commented 6 years ago

ERROR in Error: Metadata version mismatch for module D:/angular-electron/node_mo dules/angular-svg-round-progressbar/node_modules/@angular/core/core.d.ts, found version 4, expected 3 at StaticSymbolResolver.getModuleMetadata (D:\angular-electron\node_modules\ @angular\compiler\bundles\compiler.umd.js:25616:34) at StaticSymbolResolver._createSymbolsOf (D:\angular-electron\node_modules\@ angular\compiler\bundles\compiler.umd.js:25404:46) at StaticSymbolResolver.getSymbolsOf (D:\angular-electron\node_modules\@angu lar\compiler\bundles\compiler.umd.js:25385:14) at D:\angular-electron\node_modules\@angular\compiler\bundles\compiler.umd.j s:24241:30 at Array.forEach (native) at extractProgramSymbols (D:\angular-electron\node_modules\@angular\compiler \bundles\compiler.umd.js:24240:79) at AotCompiler.analyzeModulesAsync (D:\angular-electron\node_modules\@angula r\compiler\bundles\compiler.umd.js:23796:47) at CodeGenerator.codegen (D:\angular-electron\node_modules\@angular\compiler -cli\src\codegen.js:32:14) at Function.NgTools_InternalApi_NG_2.codeGen (D:\angular-electron\node_modul es\@angular\compiler-cli\src\ngtools_api.js:73:30) at _donePromise.Promise.resolve.then (D:\angular-electron\node_modules\@ngto ols\webpack\src\plugin.js:386:44)

Khorda commented 6 years ago

Same issue here.

slitvin commented 6 years ago

Same for me:

ERROR in Error: Metadata version mismatch for module D:/Work/Insynctive2.0/hubins/node_modules/angular-svg-round-progressbar/dist/i ndex.d.ts, found version 4, expected 3, resolving symbol TasksModule in D:/Work/Insynctive2.0/hubins/src/app/tasksmodule/tasks.modu le.ts, resolving symbol TasksModule in D:/Work/Insynctive2.0/hubins/src/app/tasksmodule/tasks.module.ts at Error (native) ...

slitvin commented 6 years ago

@nik0405 I fixed this issue with changes in config: "angular-svg-round-progressbar": "1.1.1",

Khorda commented 6 years ago

I fixed it too using ver 1.1.0, instead of the latest one that is using Angular 5

nik0405 commented 6 years ago

@slitvin Thanks i did the same

TheMaverickTrailblazer commented 6 years ago

Thanks @Khorda! Using 1.1.0 worked for me as that is compatible for angular 4.4.