lmstudio-ai / .github

34 stars 3 forks source link

Error on Startup (first install) [Workaround included] #25

Closed danielgangl closed 4 months ago

danielgangl commented 4 months ago

Downloaded LM Studio for Mac (M1). Moved to application folder. Opened it and got this error:

image

Trying reinstalling a few times but same error.

Any solutions or workarounds?

yagil commented 4 months ago

Hi @danielgangl what happens when you run this in the Terminal?

Command to try 1:

ls ~/.cache

Command to try 2:

mkdir ~/.cache/lm-studio

Possible cause: The ~/.cache folder was created sometime in the past using elevated permissions

If the commands above return something like permission denied (assuming you DO NOT run them with sudo) then the way to work around it is:

sudo chown -R $(whoami):staff ~/.cache
chmod -R 755 ~/.cache

As always make sure you understand the implications and only run it if you want to!

danielgangl commented 4 months ago

Ah right - yeah that was the issue. Works now, thanks!