Skip to content

Error when starting Amazon Q in VSCode IDE #7538

Closed
@minhnghia2k3

Description

@minhnghia2k3

Problem

2025-06-23T03:20:22.054Z] Vector library failed to initialize:Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/minhnghia2k3/.vscode/extensions/amazonwebservices.amazon-q-vscode-1.77.0/resources/language-server/servers/indexing/dist/extension.js' imported from /Users/minhnghia2k3/.vscode/extensions/amazonwebservices.amazon-q-vscode-1.77.0/resources/language-server/servers/aws-lsp-codewhisperer.js
2025-06-23 10:20:22.108 [info] [2025-06-23T03:20:22.054Z] Attached new listener and notified of current config.
2025-06-23 10:20:22.109 [info] [Info  - 10:20:22 AM] [2025-06-23T03:20:22.054Z] Local context server has been initialized
2025-06-23 10:20:22.112 [info] [Info  - 10:20:22 AM] [2025-06-23T03:20:22.111Z] Using global persona file: /Users/minhnghia2k3/.aws/amazonq/personas/default.json
2025-06-23 10:20:22.116 [info] [2025-06-23T03:20:22.115Z] Read configuration customizationArn=undefined
2025-06-23 10:20:22.117 [info] [2025-06-23T03:20:22.115Z] Read configuration optOutTelemetryPreference=OPTIN
2025-06-23 10:20:22.158 [info] [Error - 10:20:22 AM] Connection to server got closed. Server will not be restarted.

Steps to reproduce the issue

  1. Go to VSCode
  2. Click on install Amazon Q
  3. Sign in as Pesonal Account
  4. Start chatting with Amazon Q
  5. Error occurs

System details (run AWS: About and/or Amazon Q: About)

  • OS: Darwin x64 21.6.0
  • Visual Studio Code extension host: 1.101.1
  • Amazon Q: 1.77.0
  • node: 22.15.1
  • electron: 35.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions