Before submitting
Area
apps/desktop
Summary
The T3 Code nightly desktop app fails to launch on Windows Server 2025. An Electron error dialog reports "A JavaScript error occurred in the main process" and an uncaught "Cannot find native binding" exception.
Steps to reproduce
- Install T3 Code nightly
0.0.41-nightly.20260908.1400 on Windows Server 2025.
- Launch the installed desktop app.
- Observe the main-process JavaScript error dialog; the app cannot be used.
Expected behavior
The desktop app launches successfully and displays its normal interface.
Actual behavior
Startup fails with an uncaught native-binding exception. The dialog includes generic advice to run npm i after removing package-lock.json and node_modules, although this is an installed desktop build.
Impact
Blocks work completely: unable to launch the desktop app.
Version or commit
0.0.41-nightly.20260908.1400 (read from the installed executable's file version; product name: T3 Code (Nightly)).
Environment
- Microsoft Windows Server 2025 Standard Evaluation
- OS version:
10.0.26100
- OS architecture: 64-bit
- Installed desktop application under
%LOCALAPPDATA%\Programs\t3code
Logs or stack traces
Transcribed from the error screenshot. Two long file paths are truncated by the dialog; ... below marks those truncations. The underlying native package name is not visible, so the failing dependency and root cause are not yet confirmed.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find native binding. npm has a bug related to optional dependencies
(https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both
package-lock.json and node_modules directory.
at Object.<anonymous>
(C:\Users\Administrator\AppData\Local\Programs\t3code\resources\app.asar\node_mo...:11)
at Module._compile (node:internal/modules/cjs/loader:1880:14)
at Object.js (node:internal/modules/cjs/loader:2013:10)
at Module.load (node:internal/modules/cjs/loader:1601:32)
at node:internal/modules/cjs/loader:1403:12
at c._load (node:electron/js2c/node_init:2:18159)
at Module.load (node:internal/modules/cjs/loader:262:19)
at Module.require (node:internal/modules/cjs/loader:1624:12)
at require (node:internal/modules/helpers:153:16)
at Module.<anonymous>
(C:\Users\Administrator\AppData\Local\Programs\t3code\resources\app.asar\apps\des...:24)
Related reports
#3125 reports an earlier missing native binding in a nightly backend. #8201 concerns Windows application-control blocking native addons. These may help investigation, but this screenshot shows a main-process startup exception and does not establish either underlying cause.
Workaround
None confirmed.
Before submitting
Area
apps/desktop
Summary
The T3 Code nightly desktop app fails to launch on Windows Server 2025. An Electron error dialog reports "A JavaScript error occurred in the main process" and an uncaught "Cannot find native binding" exception.
Steps to reproduce
0.0.41-nightly.20260908.1400on Windows Server 2025.Expected behavior
The desktop app launches successfully and displays its normal interface.
Actual behavior
Startup fails with an uncaught native-binding exception. The dialog includes generic advice to run
npm iafter removingpackage-lock.jsonandnode_modules, although this is an installed desktop build.Impact
Blocks work completely: unable to launch the desktop app.
Version or commit
0.0.41-nightly.20260908.1400(read from the installed executable's file version; product name: T3 Code (Nightly)).Environment
10.0.26100%LOCALAPPDATA%\Programs\t3codeLogs or stack traces
Transcribed from the error screenshot. Two long file paths are truncated by the dialog;
...below marks those truncations. The underlying native package name is not visible, so the failing dependency and root cause are not yet confirmed.Related reports
#3125 reports an earlier missing native binding in a nightly backend. #8201 concerns Windows application-control blocking native addons. These may help investigation, but this screenshot shows a main-process startup exception and does not establish either underlying cause.
Workaround
None confirmed.