Amazon Q not working in my vs code dont know why
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
TypeError: path must not be empty
at T (C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:2159006)
at C (C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:2159132)
at k._test (C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:2159654)
at k.ignores (C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:2160144)
at C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:888360
at C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:530714
at C:\Users\TarunTaneja\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.3.0\servers\aws-lsp-codewhisperer.js:8:526419
at FSReqCallback.oncomplete (node:fs:203:5)
2025-05-19 14:12:59.158 [info]
Node.js v18.20.8
2025-05-19 14:12:59.196 [info] [Error - 2:12:59 PM] Connection to server got closed. Server will not be restarted.
2025-05-19 14:13:25.580 [info] [Info - 2:13:25 PM] Found 18228 symbols in this workspace


Contributor guide
Research direction
No repository file or test is identified in the report. Start by reproducing the failure in VS Code with Amazon Q 1.3.0 and inspect the extension logs around the empty-path error; done means the language-server connection remains open and Amazon Q works in the workspace.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100