Error messages when trying to sync project onto Pavlovia in Builder

If this template helps then use it. If not then just delete and start from scratch.

OS: Win10
PsychoPy version: 2021.1.3
Standard Standalone? (y/n) Yes

**What are you trying to achieve?:

I’m trying to sync a project onto Pavlovia. I’m logged onto Pavlovia, both in Builder and online. I have exported the HTML of this experiment. I have Git installed on my computer. When I click on ‘new’ project, fill in all the necessary information, and click on ‘Create new project’, the following error message keeps popping up:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 161, in submitChanges
self.parent.project = self.project
AttributeError: ‘NoneType’ object has no attribute ‘project’

However, in Pavlovia a project is created as a result, but the repository is empty. Basically I still can’t do anything with the project.

When I try to sync the project in the Builder, a different error comes up:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 1320, in onPavloviaSync
self.fileExport(htmlPath=htmlPath)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 759, in fileExport
target=“PsychoJS”)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 42, in generateScript
print(“Generating {} script…\n”.format(target))
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 968, in write
StdOutRich.write(self, inStr, evt)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\stdOutRich.py”, line 40, in write
self.MoveEnd() # always ‘append’ text rather than ‘writing’ it
RuntimeError: wrapped C/C++ object of type StdOutText has been deleted

I have read many related posts in the forum but I haven’t come across a solution that works for me. Does any have any idea what I have done wrong? I really need to get it done! Any help will be deeply appreciated!

Many thanks in advace!
Xinyan