I've been trying to integrate Cesium into our application, but I can't get around the following error:
Error: Core/PolygonPipeline missing ThirdParty/earcut-2.1.1
The pertinent parts of my typescript file are:
declare var Cesium: any;
require('/node_modules/cesium/Build/Cesium/Cesium.js');
export class Component {
constructor() {
var viewer = new Cesium.Viewer('cesiumContainer');
};
}
Any help would be appreciated.