Cursor Fails to Launch: Uncaught Exception: ENOENT: no such file or directory, uv_cwd

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor fails to start on macOS after update and immediately throws a fatal Uncaught Exception error originating from the Node/Electron runtime. The application crashes before rendering the UI.

The stack trace indicates that during initialization, the process attempts to resolve the current working directory (process.cwd()), but Node reports that the directory does not exist, triggering:

Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:142:28)
at createGetModuleFromFilename (file:///Applications/Cursor.app/Contents/Resources/app/node_modules/@sentry/node-core/build/esm/utils/module.js:13:67)
at file:///Applications/Cursor.app/Contents/Resources/app/node_modules/@sentry/node-core/build/esm/sdk/api.js:111:66
at ModuleJob.run (node:internal/modules/esm/module_job:345:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:665:26)
at async node:electron/js2c/browser_init:2:135287
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:132:5)

Steps to Reproduce

  1. Launch Cursor (via Finder, Spotlight, or terminal).
  2. Application immediately throws the above exception and exits.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version 2.0.77 (2.0.77)

Does this stop you from using Cursor

Yes - Cursor is unusable

I have already tried fully reinstalling Cursor, including:

  • Deleting /Applications/Cursor.app

  • Removing support files under ~/Library/Application Support

  • Downloading a fresh installer

The issue persists even after a complete clean reinstall.

Thanks for the detailed bug report. The uv_cwd error is unusual - it means the app can’t determine its current working directory during startup. This is the only report of this specific error we’ve seen.

Could you please:

Try launching from your home directory:

cd ~
cursor

Meanwhile I’m checking with the team too for any other steps

1 Like

I guess it was a macOS issue, as the IDE launched normally after a system restart.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.