Skip to content

getting qwen init error in CLI #813

@yagnik-pipaliya

Description

@yagnik-pipaliya

What happened?

qwen An unexpected critical error occurred: TypeError: Cannot read properties of null (reading 'toLowerCase') at verifyVSCode (file:///C:/Users/PREMIUM/AppData/Roaming/npm/node_modules/@qwen-code/qwen-code/node_modules/@qwen-code/qwen-code-core/dist/src/ide/detect-ide.js:91:32) at detectIde (file:///C:/Users/PREMIUM/AppData/Roaming/npm/node_modules/@qwen-code/qwen-code/node_modules/@qwen-code/qwen-code-core/dist/src/ide/d at IdeClient.getInstance (file:///C:/Users/PREMIUM/AppData/Roaming/npm/node_modules/@qwen-code/qwen-code/node_modules/@qwen-code/qwen-code-core/dist/src/ide/ide-client.js:59:33) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Config.initialize (file:///C:/Users/PREMIUM/AppData/Roaming/npm/node_modules/@qwen-code/qwen-code/node_modules/@qwen-code/qwen-code-core/dist/src/config/config.js:295:26) at async main (file:///C:/Users/PREMIUM/AppData/Roaming/npm/node_modules/@qwen-code/qwen-code/dist/src/gemini.js:155:5) PS D:\Work\Klimate\trace-webapp>

What did you expect to happen?

It should init qwen code

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about
# paste output here

node -v
v22.20.0
also tried in v18 , still same error

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions