Skip to content

Commit 31ca5a5

Browse files
committed
Added troubleshooting entry about failing npm compilations
1 parent 6c95b9f commit 31ca5a5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

TROUBLESHOOTING.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Troubleshooting
22

3-
## The tests fail with java.lang.NoSuchMethodError
3+
## The tests fail with `java.lang.NoSuchMethodError`
44
* After updating the Kotlin version, there may be multiple copies of the compiler plugin in `lib-kotlin`, for example:
55

66
```
@@ -15,3 +15,12 @@ lib-kotlin
1515
* To fix this, simply remove the older JARs
1616
* If that still does not work, delete the entire `lib-kotlin` folder
1717
* 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

Comments
 (0)