Cursor crashes on startup (A JavaScript error occurred in the main process)

Hello, today after updating Cursor I am no longer able to open the app as it reports the following exception:

Device:
MacBook Pro M2 Pro (2023)
macOS Sequoia 15.0

Cursor Version 0.42.5

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module './vs/base/common/performance'
Require stack:
- /Applications/Cursor.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Cursor.app/Contents/Resources/app/out/main.js
- 
at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:120381)
at Module._load (node:internal/modules/cjs/loader:993:27)
at c._load (node:electron/js2c/node_init:2:13801)
at Module.require (node:internal/modules/cjs/loader:1240:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Applications/Cursor.app/Contents/Resources/app/out/bootstrap-amd.js:33:21)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
at Module._load (node:internal/modules/cjs/loader:1031:12)
at c._load (node:electron/js2c/node_init:2:13801)
at Module.require (node:internal/modules/cjs/loader:1240:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Applications/Cursor.app/Contents/Resources/app/out/main.js:12:4578)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
at Module._load (node:internal/modules/cjs/loader:1031:12)
at c._load (node:electron/js2c/node_init:2:13801)
at node:electron/js2c/browser_init:2:125921
at node:electron/js2c/browser_init:2:126130
at node:electron/js2c/browser_init:2:126134
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:398:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10)
at loadBuiltinModule (node:internal/modules/helpers:104:7)
at Module._load (node:internal/modules/cjs/loader:1009:17)
at c._load (node:electron/js2c/node_init:2:13801)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:189:12)
at node:internal/main/run_main_module:28:49

Hey, try clearing the cache by following this guide: