Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
1 # Cursor Remote Extension Host Crash Report
2
3 Date: 2026-03-07
4 Severity: Critical — Remote SSH is completely unusable
5
6 ## Summary
7
8 The remote extension host process crashes immediately on startup with ERR_MODULE_NOT_FOUND: Cannot find package 'iconv-lite'. This repeats 3 times and Cursor gives up, making the remote workspace non-functional.
9
10 ## Environment
11
12 | Component | Value |
13 |—|—|
14 | Cursor Server | 2.7.0-pre.29.patch.0 |
15 | VS Code base | 1.105.1 |
16 | Server commit | 19c86da9e0c319b34036bd904ceb112cb9645a20 |
17 | Connection type | Remote - SSH |
18 | Remote OS | Fedora Linux 42 (Adams) |
19 | Kernel | 6.18.13-100.fc42.x86_64 |
20 | Arch | x86_64 |
21 | Bundled Node.js | v20.18.2 |
22 | RAM | 3.6 GiB |
23
24 ## Error
25
26 27 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'iconv-lite' imported from 28 /home/user/.cursor-server/bin/linux-x64/19c86da9e0c319b34036bd904ceb112cb9645a20/out/vs/workbench/api/node/extensionHostProcess.js 29 at packageResolve (node:internal/modules/esm/resolve:854:9) 30 at moduleResolve (node:internal/modules/esm/resolve:927:18) 31 at defaultResolve (node:internal/modules/esm/resolve:1169:11) 32 at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12) 33 at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25) 34 at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) 35 at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40) 36 at link (node:internal/modules/esm/module_job:95:36) { 37 code: 'ERR_MODULE_NOT_FOUND' 38 } 39
40
41 The extension host exits with code 1 immediately after launch. Cursor retries 3 times, fails each time identically, then stops.
42
43 ## Root Cause
44
45 The server’s package.json declares "type": "module", so Node.js resolves imports via ESM rules. The bundled extensionHostProcess.js contains a bare import for iconv-lite, but that package does not exist in the server’s node_modules/.
46
47 The server ships @vscode/iconv-lite-umd instead — a different package under a different name. The import cannot resolve.
48
49 Files involved:
50 - out/vs/workbench/api/node/extensionHostProcess.js — contains the iconv-lite import
51 - out/server-cli.js — also references iconv-lite
52 - node_modules/@vscode/iconv-lite-umd/ — exists (wrong package name)
53 - node_modules/iconv-lite/ — missing
54
.
59
60 Confirmed reproducible after full rm -rf ~/.cursor-server and fresh reconnect — the same broken server version is re-downloaded.
61
Steps to Reproduce
55 ## Reproduction
56
57 1. Connect to any Linux host via Remote SSH using Cursor with server commit 19c86da9e0c319b34036bd904ceb112cb9645a20.
58 2. The extension host crashes 3 times and the connection fails
Operating System
Linux
Version Information
Version: 2.7.0-pre.29.patch.0 (user setup)
VSCode Version: 1.105.1
Commit: 19c86da9e0c319b34036bd904ceb112cb9645a20
Date: 2026-03-06T16:38:34.889Z
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
Yes - Cursor is unusable