-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Something went wrong while initializing the extension.
Failed to initialize tmc-langs: Writing to file failed: TypeError: terminated. Stack trace: Error: Writing to file failed: TypeError: terminated at t.downloadFile (c:\Users\HuNan.vscode\extensions\moocfi.test-my-code-3.5.0\dist\lib.js:2:538089) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async c:\Users\HuNan.vscode\extensions\moocfi.test-my-code-3.5.0\dist\lib.js:2:243966
This error may be caused by a proxy or firewall that is blocking network requests or by an antivirus program. This may also be caused by an antivirus program. You can try to resolve this issue by adding an exception to the directory at 'c:\Users\HuNan\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli'.
You can try to reinitialize the extension by pressing "Restart extension host" in the extension menu.
You can also look at the logs by pressing "Open TMC Extension Logs" in the menu for more information about what went wrong. You can increase the log level the Settings to verbose to see more log messages.
If you cannot solve this issue, please create an issue at https://github.com/rage/tmc-vscode.
log was like:
/TRACE>
[2025-10-18 04:46:54:949] [ERROR] Initialization error during tmc-langs setup:
Error: Writing to file failed: TypeError: terminated.
Error: Writing to file failed: TypeError: terminated
at t.downloadFile (c:\Users\HuNan.vscode\extensions\moocfi.test-my-code-3.5.0\dist\lib.js:2:538089)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\HuNan.vscode\extensions\moocfi.test-my-code-3.5.0\dist\lib.js:2:243966
If this issue is not resolved, the extension may not function properly.
[2025-10-18 04:46:54:949] [WARN] Could not check login status
[2025-10-18 04:46:54:952] [WARN] Skipped data migration
[2025-10-18 04:46:54:952] [WARN] Skipped tmc data directory check
[2025-10-18 04:46:54:954] [WARN] Skipped login command setup
[2025-10-18 04:46:54:954] [WARN] Failed to set initial exercises.
Error: Extension was not initialized properly.
[2025-10-18 04:46:54:983] [ERROR] The extension was not initialized properly