Skip to content

输入qwen跑不起来 #1404

@shiwanghua

Description

@shiwanghua

What happened?

(base) ➜  grpo_exe sudo npm install -g @qwen-code/qwen-code@latest
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@qwen-code/[email protected]',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

changed 6 packages, and audited 7 packages in 5s

found 0 vulnerabilities
(base) ➜  grpo_exe qwen
file:///usr/local/lib/node_modules/@qwen-code/qwen-code/cli.js:148
      static {
             ^

SyntaxError: Unexpected token '{'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)
(base) ➜  grpo_exe     

What did you expect to happen?

正常使用

Client information

Client Information

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

$ qwen /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-informationMore information is needed to resolve this issue.status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions