Angular-Cesium Errror:

Hello,

I am following the help https://www.npmjs.com/package/angular-cesium

The moment I installed cesium :npm install --save cesium

Now I am getting the following error when
I run ‘ng serve’:

ERROR in Metadata version mismatch for
module E:/angular-cesium-draw/node_modules/angular-cesium/index.d.ts, found
version 4, expected 3, resolving symbol AppModule in
E:/angular-cesium-draw/src/app/app.module.ts, resolving symbol AppModule in
E:/angular-cesium-draw/src/app/app.module.ts, resolving symbol AppModule in
E:/angular-cesium-draw/src/app/app.module.ts

Please help me with that.

Thanks

Hey Umar,

Since that’s not an official Cesium package, I’m not sure what the issue is. It might be more helpful to contact the author or open an issue on their GitHub:

https://github.com/TGFTech/angular-cesium

We also do have a blog post by the awesome community member Aristeidis on integrating Angular with Cesium, which includes sample code that might help you:

Let me know if that helps!