This did work for me on macOS:
For Linux I had to rename the project directory, which is kind of absurd. Cursor needs to actually fix this.