somogyijanos / cursor-chat-export

Export your chats from Cursor to Markdown.
67 stars 17 forks source link

Error: Cannot find module 'windows-foreground-love' #10

Open MuazAshraf opened 2 months ago

MuazAshraf commented 2 months ago

When I run ./chat.py discover it gave me this error: Cannot find module 'windows-foreground-love'. I am a window user

somogyijanos commented 2 months ago

@MuazAshraf Do you run it in a native terminal like PowerShell or the built-in Cursor terminal? Have you tried in the former, does it work there?

This appears to me to be a Cursor specific issue but ./chat.py actually just reads a database and does nothing Cursor related.

olaservo commented 6 days ago

This also happened to me when I ran it in a terminal in VS code, but then running it in a native terminal in windows (PowerShell) fixed it.

olaservo commented 6 days ago

Actually no, it still happens in Powershell when I try to run a command.

olaservo commented 6 days ago

OK, so what I had to do was use Bash instead of Powershell.

parkgang commented 3 days ago

I'm getting that error too.