koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.16k stars 151 forks source link

VS Code Extension Errors On Activation #415

Closed han-tyumi closed 5 months ago

han-tyumi commented 6 months ago

I wanted to check out Koka, but I am unfortunately running into this issue when trying to run any Koka command. The only thing that looks to be working is the syntax highlighting.

image image

I'm on a M1 Mac with Koka installed manually through the curl script. Had to run the install script with sudo. I can run koka from the command line and it appears to be installed correctly.

image
TimWhiting commented 6 months ago

Try opening a non empty folder / workspace with some Koka files in it. I might know where this is coming from.

han-tyumi commented 6 months ago

Aha! That does appear to be the issue. Looks like the commands also work without Koka files within the open folder.

TimWhiting commented 6 months ago

I think I at least know how to fix it then so that it doesn't error out. It still probably won't fully start a language server, but at least the startup of the extension will not fail so that it can register the commands appropriately.