Error "Invalid UTF-8 string in BSON document" after rebuild on Windows

I’m also on node 22. Any ideas what can cause the issue?