This just started happening in the middle of the day today, nothing that I can think of changed. Here are the issues I just started seeing:
- Clicking “Apply” on code generated in the chat does nothing. You can’t even tell you’ve clicked it.
- Clicking on a filename at the top of a chat used to take me to that file in my project. Now it tries to create a new file, even if the file exists and is in the location that Cursor thinks it’s in (“The editor could not be opened because the file was not found.” followed by a Create File button).
- Clicking on a filename at the top of a chat for a file that does not exist still does try to create a new file, however, clicking the Create File button throws the following error now:
Unable to write file ‘/app/settings/components/StripeSettings.tsx’ (Unknown (FileSystemError): Error: EROFS: read-only file system, mkdir ‘/app’)
I’ve confirmed I’m able to write to these files, so it doesn’t appear to be a permissions issue with my files or directory. In fact, Cursor still saves changes to my files. It’s just when I try to create a new file with the “Create File” button on the screen with the “The editor could not be opened because the file was not found.” message. I am able to create files by right-clicking in the file tab and adding files that way.
Mostly it’s the issue of not being able to apply AI-written code to my files with the “Apply” button that is driving me nuts. It either doesn’t do anything or it sends me to the Create File screen because it thinks the file doesn’t exist.
Nothing I can think of that changed. It was working and then it wasn’t.