Trying to run Cursor-0.50.5-x86_64.AppImage
on Ubuntu 22.04.5 via Windows WSL.
The Cursor UI is not functioning correctly and this is what i get:
[main 2025-06-04T09:41:15.668Z] updateURL https://api2.cursor.sh/updates/api/update/linux-x64/cursor/0.50.5/096f9b487a4f2cf73f1c9584982f9cee74d46b88f569b04cce619d55f95c1244/stable
[main 2025-06-04T09:41:15.669Z] update#setState idle
Error: Cannot find module './build/Debug/keymapping'
Require stack:
- /tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:124485)
at Module._load (node:internal/modules/cjs/loader:1058:27)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at NativeBinding._init (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:19:24)
at NativeBinding.getKeyMap (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:24:10)
at exports.getKeyMap (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:63:18)
at W2 (file:///tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/out/main.js:53:29678)
at jh.g (file:///tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/out/main.js:53:30195) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js'
]
}
TypeError: Cannot read properties of null (reading 'getCurrentKeyboardLayout')
at NativeBinding.getCurrentKeyboardLayout (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:34:29)
at exports.getCurrentKeyboardLayout (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:60:18)
at W2 (file:///tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/out/main.js:53:29694)
at jh.g (file:///tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/out/main.js:53:30195)
TypeError: Cannot read properties of null (reading 'onDidChangeKeyboardLayout')
at NativeBinding.onDidChangeKeyboardLayout (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:43:22)
at exports.onDidChangeKeyboardLayout (/tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:66:18)
at jh.g (file:///tmp/.mount_cursorwwKhiP/usr/share/cursor/resources/app/out/main.js:53:30207)