# \[Windows\] agent worker start fails: better-sqlite3 NODE\_MODULE\_VERSION 127 vs 137 — Remote Control broken

**URL:** <https://forum.cursor.com/t/windows-agent-worker-start-fails-better-sqlite3-node-module-version-127-vs-137-remote-control-broken/168254>\
**Category:** Bug Reports\
**Tags:** cli, windows, installation, remote-control\
**Created:** [August 13, 2026, 7:12am UTC](https://forum.cursor.com/t/windows-agent-worker-start-fails-better-sqlite3-node-module-version-127-vs-137-remote-control-broken/168254 "2026-08-13T07:12:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainfall](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@Rainfall](https://forum.cursor.com/u/Rainfall)\
**Post date:** [August 13, 2026, 7:12am UTC](https://forum.cursor.com/t/windows-agent-worker-start-fails-better-sqlite3-node-module-version-127-vs-137-remote-control-broken/168254/1 "2026-08-13T07:12:44Z")

</div>

### Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

### Describe the Bug

On Windows, agent worker start crashes when starting exec-daemon. The native module better-sqlite3 was built for NODE\_MODULE\_VERSION 127 but the bundled Node.js requires NODE\_MODULE\_VERSION 137.

Because the self-hosted worker never stays online, Remote Control sessions fail with:

- Waiting for self-hosted worker
- No self-hosted workers are connected
- No self-hosted workers were available for this repo

Git push issues were fixed separately. This looks like a broken cursor-agent Windows package.

Environment:

- OS: Windows 10/11
- Cursor desktop: 3.15.19 (user setup), VSCode Extension Version: 1.128.0, Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
- Workspace: D:\Game
- Git remote: rain294890061/Game on GitHub
- cursor-agent path: C:\Users\rainwang\AppData\Local\cursor-agent
- Agent version folder: 2026.08.11-e8db854
- Plan: Pro
- Cursor Version: 3.15.19

### Steps to Reproduce

1. Install Cursor Agent CLI on Windows using the official win32 install script from Cursor docs (PowerShell).

2. Run: agent login (success)

3. cd D:\Game (git remote is rain294890061/Game on GitHub)

4. Run: agent worker start --name game-pc --debug

5. Worker crashes immediately with:  
Error starting exec-daemon: better\_sqlite3.node was compiled against a different Node.js version.  
NODE\_MODULE\_VERSION 127. This version of Node.js requires: NODE\_MODULE\_VERSION 137.

6. Remote Control also fails: enable Remote Control in Agents Window, send /remote-control plus a follow-up, then open the session on the web Agents page — shows no self-hosted workers connected, fails after 40 attempts.

Also tried:

- Delete LOCALAPPDATA\cursor-agent and reinstall CLI — same error
- PowerShell ExecutionPolicy Bypass — login works, worker start still fails
- I sometimes use remote desktop to access this PC, but the sqlite version error happens on the machine itself, not only over remote desktop

### Expected Behavior

agent worker start should keep running and register a self-hosted worker for rain294890061/Game.

Remote Control (/remote-control plus follow-up in Agents Window) should allow continuing the session from the web Agents UI or mobile, with tool calls on the local Windows machine.

### Screenshots / Screen Recordings

 ![download.png](https://us1.discourse-cdn.com/cursor1/original/3X/f/5/f5896131c7888a39d706b0d6aa5ee3d8550eb831.png) ![微信图片_20260813144456_64_110.jpg](https://us1.discourse-cdn.com/cursor1/original/3X/b/a/babf7fb66bee5debad46c077fe55e100dd6413eb.jpeg)

### Operating System

Windows 10/11

### Version Information

Version: 3.15.19 (user setup)  
VS Code Extension API: 1.128.0  
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0  
Date: 2026-08-11T05:22:54.627Z  
Layout: Agent Window  
Build Type: Stable  
Release Track: Default  
Electron: 40.10.3  
Chromium: 144.0.7559.236  
Node.js: 24.15.0  
V8: 14.4.258.32-electron.0  
xterm.js: 6.1.0-beta.291  
OS: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 13, 2026, 7:33am UTC](https://forum.cursor.com/t/windows-agent-worker-start-fails-better-sqlite3-node-module-version-127-vs-137-remote-control-broken/168254/5 "2026-08-13T07:33:26Z")

</div>

Hey, thanks for the detailed report. This is the same issue as in this thread: [Windows Remote Control worker crashes — better-sqlite3 NODE\_MODULE\_VERSION 127 vs 137 — Cursor 3.15.6](https://forum.cursor.com/t/windows-remote-control-worker-crashes-better-sqlite3-node-module-version-127-vs-137-cursor-3-15-6/167841). Reinstalling the CLI won’t help here, since it’s caused by a native module inside the Windows package itself, not your setup. We’re tracking it.

For now, the working workaround is to run the worker in WSL, since the Linux build works fine:

1. Install Ubuntu via WSL
2. Inside WSL: `curl https://cursor.com/install -fsS | bash` [CLI Installation | Cursor Docs](https://cursor.com/docs/cli/installation)
3. Run `agent login`, then from a repo that lives inside the WSL filesystem, not in `/mnt/c`: `agent worker start`

Important: the repo must be inside the WSL filesystem, not `/mnt/c/...` or `D:\Game`, otherwise you’ll hit issues. So you’ll need to re-clone `D:\Game` into WSL.

I can’t share a timeline for the native Windows package yet, but I’ll reply here when there’s an update. Let me know if the WSL option doesn’t work on your side.
