This bug is related to the DOMString type error (I think). Just last week I tried to get my app saving GLTF files so I installed the GLTF serilizer, and suddenly everything broke with a bunch of bugs. I uninstalled it, but things were still broken. It seems the update had updated babylonjs/core which had just been updated on NPM and it seemed to have a problem with a missing type ‘DOMString’ (see the other topic for the details and a temp fix).
So I got the core working again, but then I installed the GLTF serializer again and it failed with the error below.
[ng] Error: node_modules/@babylonjs/serializers/glTF/2.0/glTFSerializer.d.ts:3:32 - error TS2307: Cannot find module ‘@babylonjs/core/Animations.js’ or its corresponding type declarations.
[ng]
[ng] 3 import type { Animation } from “@babylonjs/core/Animations.js”;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this seems to be a problem inside the serializer, so I am lost…