I've just played with your project using our Godot 4.1.3 build and the related templates on macOS.
I do get a single error Cannot erase nonexistent section "params".
but that seems to be unproblematic as the .dmg
is created as it should be and it starts as expected:

When I go to the NPC and talk to it by pressing E, the app freezes. It seems your SpinePosition.gd
script has a bug?

I can reproduce this in the editor as well. Just click "Play" in the editor, go to the NPC and press E, you'll end up with an error here:

Globals.CurrentCharacter
is Diablo
but there is no entry for Diablo
in the Globals.PortraitLoadLocation
dictionary.

I'm not familiar with how your project is designed, so I leave it to you to figure out that bug 🙂
In any case, the export works fine. The errors you saw I can not reproduce on macOS, so I'm unsure. how you got those. I will try on Windows tomorrow.