Skip to content

[Bug]: OpenClaw节点程序在Windows 11 24H2上启动后卡在PATH信息,无法连接Gateway #39038

@Joper89

Description

@Joper89

Bug type

Crash (process/app exits or hangs)

Summary

"节点程序在Windows 11 24H2启动后卡在PATH信息

Steps to reproduce

1.确保Gateway运行正常(openclaw gateway start)
2.运行 openclaw node run 或 openclaw node run --host 127.0.0.1 --port 18789
3.观察:显示PATH信息后程序卡住,无进一步输出

Expected behavior

1.显示PATH信息
2.连接Gateway(ws://127.0.0.1:18789)
3. 显示连接成功信息
4. 保持运行,等待远程控制

Actual behavior

1.显示PATH信息
2.然后卡死,无进一步输出
3.不连接Gateway
4.程序无响应

OpenClaw version

2026.3.2-beta.1/2026.3.2

Operating system

Microsoft Windows 11 家庭中文版 10.0.26200 (24H2)

Install method

通过npm安装:npm install -g openclaw --ignore-scripts

Logs, screenshots, and evidence

Impact and severity

标题:
OpenClaw节点程序在Windows 11 24H2上启动后卡在PATH信息,无法连接Gateway

OpenClaw版本:
2026.3.2-beta.1(稳定版2026.3.2同样问题)

安装方法:
通过npm安装:npm install -g openclaw --ignore-scripts

环境:
操作系统:Microsoft Windows 11 家庭中文版 10.0.26200 (24H2)
架构:AMD64 (x64)
Node.js:v24.14.0
用户名:包含中文字符"钟"
问题描述:
openclaw node run 启动后:
显示PATH环境变量信息
然后完全卡住,不继续运行
不尝试连接Gateway(即使Gateway正常运行)
无错误信息,无继续输出
Ctrl+C有时无法停止(程序完全卡死)
服务模式同样问题(计划任务启动后立即停止)
预期行为:
节点程序应该:
显示PATH信息
连接Gateway(ws://127.0.0.1:18789)
显示连接成功信息
保持运行,等待远程控制
实际行为:
节点程序:
显示PATH信息
然后卡死,无进一步输出
不连接Gateway
程序无响应
重现步骤(100%重现):
确保Gateway运行正常(openclaw gateway start)
运行 openclaw node run 或 openclaw node run --host 127.0.0.1 --port 18789
观察:显示PATH信息后程序卡住,无进一步输出
已尝试(全部失败):
不同端口(18789, 18888)
管理员权限运行
服务模式/计划任务
稳定版(2026.3.2)和beta版(2026.3.2-beta.1)
调试模式(无额外输出)
Gateway验证正常(可手动启动并监听端口)
可能相关:
用户名包含Unicode中文字符"钟"
Windows 11 24H2(最新预览版)
Node.js v24.14.0
请求:
请调查节点程序在Windows 11 24H2上的启动问题,特别是PATH信息显示后的卡死情况。

Additional information

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions