Vscode connection Problem language
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
[Error - 17:46:06] Server initialization failed.
Message: Request initialize failed with message: No native build was found for platform=darwin arch=x64 runtime=electron abi=136 uv=1 libc=glibc node=22.20.0 electron=37.7.0
attempted loading from: /cloudformation-languageserver/1.0.0/cloudformation-languageserver-1.0.0-darwin-x64-node22/node_modules/lmdb and package: @lmdb/lmdb-darwin-x64
Error resolving package: Cannot find module '@lmdb/lmdb-darwin-x64'
Require stack:
- /cloudformation-languageserver/1.0.0/cloudformation-languageserver-1.0.0-darwin-x64-node22/node_modules/lmdb/package.json
Code: -32603
[Error - 17:46:06] AWS CloudFormation client: couldn't create connection to server.
Code: -32603
{
"stack": "Error: PeriodicExportingMetricReader: metrics export failed (error Error: socket hang up)\n\t at PeriodicExportingMetricReader._doRun (/cloudformation-languageserver/1.0.0/cloudformation-languageserver-1.0.0-darwin-x64-node22/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:88:19)\n\t at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n\t at async PeriodicExportingMetricReader._runOnce (/cloudformation-languageserver/1.0.0/cloudformation-languageserver-1.0.0-darwin-x64-node22/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:57:13)",
"message": "PeriodicExportingMetricReader: metrics export failed (error Error: socket hang up)",
"name": "Error"
}
[05:46:06 PM] INFO: [Init] AWS CloudFormation initializing...
ClientInfo: {
"name": "Visual Studio Code",
"version": "1.106.2"
}
NodeEnv: "production"
AwsEnv: "prod"
aws: {
"clientInfo": {
"extension": {
"name": "amazonwebservices.cloudformation",
"version": "1.0.0"
},
"clientId": ""
},
"telemetryEnabled": true
}
[05:46:06 PM] INFO: [Init]
Machine: "darwin-x64"
Process: "darwin-x64"
Runtime: "node=22.20.0 v8=13.8.258.32-electron.0 uv=1.51.0 modules=136"
Contributor guide
Research direction
Reproduce AWS CloudFormation language-server initialization in VS Code on darwin-x64, starting from the reported cloudformation-languageserver package path and its lmdb dependency resolution. Investigate the missing @lmdb/lmdb-darwin-x64 package, then verify that the CloudFormation client starts without the native-build error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100