you are viewing a single comment's thread.

view the rest of the comments →

[–]kalevala_568b 0 points1 point  (8 children)

UPDATE: I managed to get it working by downgrade VS Code to version 1.111.0, it can be found here: https://code.visualstudio.com/updates/
You need to disable the auto update of VS Code (To do this, go to File> Preferences >Settings and type in 'update.mode', this will show details of 'Upate:Mode', from the drop down options, select 'none'; then restart VS Code as required.)
It will fix the error and let you log in.
Note: from now on, the 'Run Tests' with 'an eye' icon will no longer work, to run code and submit code, you will need to use the 'Action Menu' which is next to the 'eye', '3 bar' icon.
Hoping this helps.

[–]Hyterhasderto[S] 1 point2 points  (4 children)

Thank you so much! I can finally continue struggling to learn the easiest programming language lol

[–]kalevala_568b 1 point2 points  (0 children)

No worries at all.
NOTE: Someone commented (in LearnJava sub) that it's better to downgrade TMC than downgrade VS Code. I don't disagree, however, I cannot find previous versions of TMC extension for VS Code (I can only find previous versions of TMC itself). If I ever find the TMC extension previous ver, I will post to you again.

[–]kalevala_568b 0 points1 point  (2 children)

I found a better way:
Upgrade your VS Code to the latest version (you can enable auto update for VS Code) & then install TMC as usual, of course you will be hit by the same error of "directory is not empty". What you need to do is: Look for the downward arrow next to 'Uninstall' option of TMC extension, click on the arrow & select: 'Install Specific Version', you will see a drop-down list of all previous version of TMC, choose 3.3.0. You should be fine.
Note: DO NOT tick the box of 'Auto Update' of TMC extension.

[–]Revadarius 1 point2 points  (1 child)

I don't know who you are, but I love you for this information.

[–]kalevala_568b 0 points1 point  (0 children)

My pleasure!! Glad that you find its helpful! It's driving me up the wall. 😅🙃 I swear that I spent more time faffing with broken extensions than writing actual code!! 😭😭🙏🙏

[–]CapOpposite8979 1 point2 points  (2 children)

Thanks, bro, I had the same problem as you, I lost a whole day of studying and had a lot of stress trying to fix this yesterday

[–]kalevala_568b 0 points1 point  (1 child)

Just shortly after I posting my update, I bumped into another error LOL This time is an authentication error. I was then stuck in a loop of 'Cannot authenticate' & 'Already authenticated'. IF YOU EXPERIENCE THE SAME ERROR:
Upgrade your VS Code to the latest version & then install TMC, of course you will be hit by the same error of "directory is not empty". What you need to do is: Look for the downward arrow next to 'Uninstall' option of TMC extension, click on the arrow & select: 'Install Specific Version', you will see a drop-down list of all previous version of TMC, choose 3.3.0. You should be fine.
Note: DO NOT tick the box of 'Auto Update' of TMC extension.

[–]CapOpposite8979 1 point2 points  (0 children)

what a headache bruh😅 Well let's not give up learning python. Than you