Skip to content

Launching server "kotlin" Failed #14

@shanur00

Description

@shanur00

Result from CocInfo

## versions

vim version: NVIM v0.10.2
node version: v22.9.0
coc.nvim version: 0.0.82-'9fd8578 2024-09-21 00:59:00 +0900'
coc.nvim directory: C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim
term: undefined
platform: win32

## Log of coc.nvim

2024-11-04T06:22:11.765 INFO (pid:16656) [extension:coc-tabnine] - Using tabnine from C:\Users\SHAHNUR\AppData\Local\coc\extensions\coc-tabnine-data\binaries\4.202.0\x86_64-pc-windows-gnu\TabNine.exe
2024-11-04T06:22:12.282 INFO (pid:16656) [plugin] - coc.nvim initialized with node: v22.9.0 after 1110
2024-11-04T06:22:12.284 INFO (pid:16656) [services] - LanguageClient Json language server state change: stopped => starting
2024-11-04T06:22:12.335 INFO (pid:16656) [language-client-index] - Language server "json" started with 14684
2024-11-04T06:22:12.362 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:12.692 INFO (pid:16656) [services] - LanguageClient Json language server state change: starting => running
2024-11-04T06:22:12.711 INFO (pid:16656) [services] - service json started
2024-11-04T06:22:13.379 ERROR (pid:16656) [server] - unhandledRejection  Promise {
  <rejected> Error: spawn EINVAL
      at ChildProcess.spawn (node:internal/child_process:420:11)
      at Object.spawn (node:child_process:761:9)
      at C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:123553:47
      at async LanguageClient.createConnection (C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:122923:28)
      at async LanguageClient._start (C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:122554:30) {
    errno: -4071,
    code: 'EINVAL',
    syscall: 'spawn'
  },
  dispose: [Function (anonymous)]
} Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:420:11)
    at Object.spawn (node:child_process:761:9)
    at C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:123553:47
    at async LanguageClient.createConnection (C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:122923:28)
    at async LanguageClient._start (C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:122554:30) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'spawn'
}
2024-11-04T06:22:18.571 INFO (pid:16656) [attach] - receive notification: runCommand [ 'workspace.showOutput' ]
2024-11-04T06:22:20.668 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:24.631 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:25.820 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:27.832 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:28.293 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:30.467 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:40.103 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:40.939 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:41.256 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:42.286 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:42.746 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:45.094 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:22:45.948 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:23:39.589 INFO (pid:16656) [attach] - receive notification: highlight []
2024-11-04T06:23:42.692 INFO (pid:16656) [attach] - receive notification: showInfo []

Workspace showOutput

[11/4/2024, 6:19:16 AM 593] [debug]: Looking for Java in PATH
[11/4/2024, 6:19:16 AM 598] [info]: Activating Kotlin Language Server...
[11/4/2024, 6:19:16 AM 599] [info]: Connecting via Stdio.
[11/4/2024, 6:19:16 AM 600] [info]: Creating client at C:\Users\SHAHNUR\AppData\Local\coc\extensions\coc-kotlin-data\langServerInstall\server\bin\kotlin-language-server
[11/4/2024, 6:19:16 AM 610] [error]: Error: Error: Launching server "kotlin" using command C:\Users\SHAHNUR\AppData\Local\coc\extensions\coc-kotlin-data\langServerInstall\server\bin\kotlin-language-server failed.
    at error (C:\Users\SHAHNUR\AppData\Local\coc\extensions\node_modules\coc-kotlin\lib\extension.js:1:38312)
    at async t.activate (C:\Users\SHAHNUR\AppData\Local\coc\extensions\node_modules\coc-kotlin\lib\extension.js:1:68256)
    at async C:\Users\SHAHNUR\AppData\Local\nvim\plugged\coc.nvim\build\index.js:127355:27

Extension version

Which version of the extension you are running.

Additional context

More information or screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions