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
Copy file name to clipboardExpand all lines: TROUBLESHOOTING.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Troubleshooting
2
2
3
-
## The tests fail with java.lang.NoSuchMethodError
3
+
## The tests fail with `java.lang.NoSuchMethodError`
4
4
* After updating the Kotlin version, there may be multiple copies of the compiler plugin in `lib-kotlin`, for example:
5
5
6
6
```
@@ -15,3 +15,12 @@ lib-kotlin
15
15
* To fix this, simply remove the older JARs
16
16
* If that still does not work, delete the entire `lib-kotlin` folder
17
17
* Gradle will automatically re-download the necessary files once the project is built again
18
+
19
+
## Running `npm run compile` or `vsce package` fails
20
+
If you get the error
21
+
22
+
```
23
+
error TS6059: File '.../KotlinLanguageServer/bin/vscode-extension-src/...' is not under 'rootDir' '.../KotlinLanguageServer/vscode-extension-src'. 'rootDir' is expected to contain all source files.
24
+
```
25
+
26
+
delete the `bin` folder in the repository directory.
0 commit comments