You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on building the repo inside of gitpod, and was running into issues with resolving the stdlib.
The language server first checks for it through gradle & maven, but since gitpod changes GRADLE_USER_HOME this fails (see #254).
From there, it tries to find kotlinc on $PATH, and then relative paths to the standard library. However, when installing kotlin via homebrew (on linux), there is a wrapper script that delegates off to the actual kotlin installation. This wrapper script results in the relative path breaking, as the relative path to the lib directory is slightly different.
To replicate, one can open a gitpod environment via this link. From there, run brew install kotlin and ./gradlew build
I can't check what homebrew does on mac (since I don't have one), but I would imagine it has a similar issues?
The fix from what I can tell is just to also check the relative path that Homebrew uses to try and find the stdlib by that, though I'm not sure if there are any other considerations to make with homebrew.
The text was updated successfully, but these errors were encountered:
This should be fixed by #383 , at least for Mac Homebrew. Unsure if the Linux version puts it inside the same type of folder structure...? (see PR for details).
I was working on building the repo inside of gitpod, and was running into issues with resolving the stdlib.
The language server first checks for it through gradle & maven, but since gitpod changes
GRADLE_USER_HOME
this fails (see #254).From there, it tries to find
kotlinc
on$PATH
, and then relative paths to the standard library. However, when installing kotlin via homebrew (on linux), there is a wrapper script that delegates off to the actual kotlin installation. This wrapper script results in the relative path breaking, as the relative path to thelib
directory is slightly different.To replicate, one can open a gitpod environment via this link. From there, run
brew install kotlin
and./gradlew build
I can't check what homebrew does on mac (since I don't have one), but I would imagine it has a similar issues?
The fix from what I can tell is just to also check the relative path that Homebrew uses to try and find the stdlib by that, though I'm not sure if there are any other considerations to make with homebrew.
The text was updated successfully, but these errors were encountered: