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 deanrie, can you clarify which cache? the article as multiple items to potentially clear. not a developer - using ai to code my first app so unsure which will do the job. hereās a screenshot of the error below. I get this error popup when I click on the cursor launch icon on the bottom windows bar
You should just be able to redownload the installer from cursor.com, and thatāll handle everything for you! The fact it isnāt in your programs to uninstall further suggests a corrupted installation.
The same thing happens to me too when opening a big project which causes Cursor to crash. Reopening Cursor afterward brings up this error, and after waiting for a minute, Cursor opens normally, reopening the project that previously crashed without any problems. I didnāt need to reinstall it, and it functions perfectly otherwise-I just run into this issue sometimes.