aws / aws/aws-toolkit-vscode

Amazon Q in not going to install in VS code on windows

Open
#7,965 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem
Amazon Q is not working in VS code
TypeError: Cannot redefine property: default
at Function.defineProperty ()
at C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:6566050
at Array.forEach ()
at a (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:6565997)
at constructor.loadFrom (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:6566679)
at u (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:6817717)
at constructor.region (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:6818688)
at constructor.set (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:5:3425059)
at constructor. (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:5:3423204)
at constructor.each (C:\Users\itsxd02\AppData\Local\aws\toolkits\language-servers\AmazonQ\1.30.0\servers\aws-lsp-codewhisperer.js:2:3846565)

## Steps to reproduce the issue
Open vs code
installed extension of amazon Q
did not work get an error message

## Expected behavior
Show work and able to open chat window
## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: windows 11
- Visual Studio Code version: 1.103.2
- AWS Toolkit version:
- Amazon Q version: 1.92.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure on Windows 11 with Visual Studio Code 1.103.2 and Amazon Q 1.92.0, then start from the generated aws-lsp-codewhisperer.js stack trace shown in the report. The issue is done when the Amazon Q extension installs or starts without the TypeError and the chat window opens.

Written by the indexing model from the issue text.

Assessment

Tech stack
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.