Skip to content

运行错误:启动opencode时命令行出错 #2

Description

@mensong

系统

OS 名称: Microsoft Windows 10 企业版 LTSC
OS 版本: 10.0.17763 暂缺 Build 17763

opencode版本

opencode-v1.17.15-portable-windows-modern-x64.tar.gz

错误信息

D:\MyData>opencode
'layedexpansion' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'Windows' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'_version' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'tokens' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'"tokens=2"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'夋嫨杩愯鏃?if' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
[INFO] Windows 10+/Server 2019+ detected, using Bun runtime
[ERROR] Bun runtime not found!
请按任意键继续. . .

已做操作

    1. 把压缩包解压 tar -zxf opencode-v1.17.15-portable-windows-modern-x64.tar.gz 进行解压
    1. 已把解压后的目录添加到环境变量Path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions