Export pages not working

I’m using the v0.8.3 on nixos, Export Pages creates appropriate files but when I open the index.html, it asks me to open a local directory instead of showing me the notes I’ve exported. Also there is no confirmation in the Logseq UI about whether the export finished successfully.