Skip to content

TypeError: Cannot read properties of undefined when trying to run on remote vscode (using gitpod.io) #358

@rolandoam

Description

@rolandoam

When adding the extension on a remote vscode (I have not seen this happen on regular vscode), I get the following error:

2024-08-22 17:45:46.884 [error] Activating extension DanielSanMedium.dscodegpt failed due to an error:
2024-08-22 17:45:46.884 [error] TypeError: Cannot read properties of undefined (reading 'toLowerCase')
	at NWe (/workspace/.vscode-remote/extensions/danielsanmedium.dscodegpt-3.4.38-universal/dist/extension.js:704:16739)
	at sRe (/workspace/.vscode-remote/extensions/danielsanmedium.dscodegpt-3.4.38-universal/dist/extension.js:710:1934)
	at async m.n (/ide/out/vs/workbench/api/node/extensionHostProcess.js:144:6409)
	at async m (/ide/out/vs/workbench/api/node/extensionHostProcess.js:144:6372)
	at async m.l (/ide/out/vs/workbench/api/node/extensionHostProcess.js:144:5829)

An easy way to repro is to:

  • get a free account on gitpod.io
  • create a new workspace
  • install codegpt

You can look at the output labeled as "Extension Host (remote)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions