ian-kent / gptchat

A GPT-4 client which gives your favourite AI a memory and tools for self-improvement
MIT License
351 stars 51 forks source link

Cannot find plugin directory #2

Closed ngivan2004 closed 1 year ago

ngivan2004 commented 1 year ago

Hi. I am getting the following error after building and running the executable.

FYI I am on MacOS

error loading compiled plugins: error loading compiled plugins: open ./module/plugin/compiled/: no such file or directory

ian-kent commented 1 year ago

What steps are you taking to run it? 🤔

If you're running it from the gptchat directory then it should be able to find the compiled directory, from anywhere else it wouldn't work.

I'll see if I can make it a bit more resilient though so it doesn't just fail on startup.

ian-kent commented 1 year ago

Closing this as I've updated the code to do some checks on startup, even if that doesn't solve the issue it should help diagnose it.