When trying to export a project, it shows Cannot read properties of undefined (reading 'displayName') error

Problem

When you try to export a project, it shows an error like below.

Cannot read properties of undefined (reading 'displayName')

Solution

From the Windows File Explorer or Terminal App (for Mac), find the temporary file whose file extension is .json~ and remove it.

e.g.

If you see following file under ~/.exploratory/projects/markdowns

-rw-rw-r--@ 1 hidekoji staff 6254 Nov 11 2022 KFe3jRE3.json~

Then please remove the file and restart Exploratory Desktop.