VS Code Extension hashicorp.terraform can't launch language server #8064
Open
Description
The VS Code Extension hashicorp.terraform can't start it's language server.
Steps to Reproduce:
- install the extension in theia
- trigger command: "Terraform: activate language server"
- find the following stack trace in the logs:
"[hosted-plugin: 1661] TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type object
at checkListener (events.js:54:11)
at ClientRequest.once (events.js:290:3)
at new ClientRequest (_http_client.js:151:10)
at Object.request (https.js:281:10)
at Object.request (/tmp/vscode-extensions/vscode.@theia!vscode-builtin-npm@0.2.1/package/dist/main.js:1:37885)
at Promise (/tmp/vscode-extensions/hashicorp.terraform@2.0.1/extension/out/languageServerInstaller.js:81:35)
at new Promise (<anonymous>)
at LanguageServerInstaller.checkCurrent (/tmp/vscode-extensions/hashicorp.terraform@2.0.1/extension/out/languageServerInstaller.js:80:16)
at cp.exec (/tmp/vscode-extensions/hashicorp.terraform@2.0.1/extension/out/languageServerInstaller.js:30:30)
at ChildProcess.exithandler (child_process.js:301:5)"
see LanguageServerInstaller.checkCurrent.ts
see languageServerInstaller.js:81
Additional Information
- Extension Version:
hashicorp.terraform@2.0.1:xJnAlwGKsLYCzp4WPmt7UQ==
- Theia Version:
"name": "@theia/core", "version": "1.2.0-next.99a7aa3c"