During build this error is thrown. Seems like a compatibility issue with the latest SvelteKit version.