TMC Extension in VSCode Mismatch between CLI and checksum

Open
#779 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript, vscode

Research direction

No source files or tests are named. Start at the extension initialization path that downloads and verifies TMC-langs, using the Windows 11 and VSCode 1.124.2 log as the reproduction context; done means installation completes without the checksum mismatch or ENOTEMPTY error.

Written by the indexing model from the issue text.

Description

I’ve been trying for the last two days to install TMC on Visual Studio (which I installed in 2023 without any issues). Following the instructions given at “https://www.mooc.fi/en/installation/vscode/#installing-vscode”, I tried to install TMC, but I keep getting the same error:
“[2026-06-08 05:13:47:990] [INFO] TMC-Langs version: tmc-langs-cli-x86_64-pc-windows-msvc-0.39.4.exe
[2026-06-08 05:13:47:993] [INFO] Downloading TMC-langs from https://download.mooc.fi/tmc-langs-rust/tmc-langs-cli-x86_64-pc-windows-msvc-0.39.4.exe to temporary file c:\Users.....\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli\temp-tmc-langs-cli-x86_64-pc-windows-msvc-0.39.4.exe
[2026-06-08 05:13:52:477] [ERROR] Mismatch between CLI and checksum, trying redownload
[2026-06-08 05:13:52:477] [DEBUG] CLI "2a31f5758b4488b279e80e57ff8248aa2485ef80d4cf27618403fb136fc07f71", hash ""
[2026-06-08 05:13:52:484] [ERROR] Fatal error during initialization:
Error: ENOTEMPTY, Directory not empty: \?\c:\Users.....\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli '\?\c:\Users.....\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli'.

Error: ENOTEMPTY, Directory not empty: \?\c:\Users.....\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli '\?\c:\Users.....\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli'”
The CLI folder mentioned as not empty, is empty. I tried deleting the directory mentioned, uninstalling and reinstalling TMC, and also Visual Studio. I have disabled the antivirus software, I tried manually downloading the file ‘temp-tmc-langs-cli-x86_64-pc-windows-msvc-0.39.4.exe’ but it didn’t work. I also tried various versions of Java. I also tried with “VSCodeSetup-x64-1.123.0” and “VSCodeUserSetup-x64-1.123.0”. I’ve also tried it on two different computers but same problem.

Thanks for your help!

  • OS: Windows 11
  • VSCode Version 1.124.2
  • TMC Extension Version 3.5.2
  • Other related extensions.
Dominant language
TypeScript
Stars
32
Forks
8
Avg merge
19m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rage/tmc-vscode

All issues in rage/tmc-vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.