I am getting this error while trying to start the map , not know why and how its occurring and indicating towards these line of code when i am migrating to vite from craco .
let photoTileset, terrainProvider3D;
async function initializeMaps() {
terrainProvider3D = await Cesium.createWorldTerrainAsync();
photoTileset = await Cesium.createGooglePhotorealistic3DTileset();
}
await initializeMaps();