Once i install prettier and try to save any file, Cursor will freeze and I will see my disk filled, I have to totally remove all Cursor files:
rm -rf ~/.cursor ~/.config/Cursor
I only want to use Cursor for the tab completions, but without prettier, it is unusable for me. Also clicking on an image file freezes the IDE, even trying to get the version (menu > about). I cancelled my subscription because of this.
Steps to Reproduce
Install latest Cursor on Linux using AUR (cursor-bin)
Hey, this is a known issue with the cursor-bin package from AUR, not a Cursor bug. The symptoms match 1:1: it freezes on Help → About, and it freezes on modals like Prettier on save notifications and dialogs, and the image preview overlay too. Over the last week, this is already the third or fourth report.
What’s happening: cursor-bin is a community maintained package. Its PKGBUILD depends on generic electron, but Cursor 3.4.20 is built for Electron 39. When your system pulls in Electron 42, the renderer crashes on any modal or overlay window, and crashpad writes dumps that can fill up your disk.
Three ways to fix it:
Install electron39 and repoint the wrapper:
sudo pacman -S electron39
sudo sed -i 's/name=electron$/name=electron39/' /usr/bin/cursor /usr/share/cursor/cursor
To prevent a system update from reverting the fix, add this to /etc/pacman.conf under [options]:
IgnorePkg = electron
Install the official tarball or AppImage from Cursor · Download. Electron is bundled inside, so a mismatch can’t happen.
Message the cursor-bin maintainer on AUR and ask them to add electron39 to depends. This would fix it for all Arch and CachyOS users.
Before applying the fix, it’s worth cleaning up the crashpad dumps that filled your disk: rm -rf ~/.config/Cursor/Crashpad ~/.config/Cursor/logs