Skip to content

[dsh-plugin-hub] install failed (cause unclassified): omdsh-dev/dsh-genui #469

Closed

Description

@shijiaowang

Summary

  • Auto-classified cause: install failed (cause unclassified)
  • Target plugin: omdsh-dev/dsh-genui
  • Why filed here: the installer only routes a failure to the plugin repo when the cause is demonstrably the plugin's own build/distribution (pluginPrepare, or build scripts pnpm blocks that even an auto-allow retry cannot get past). This failure does not match that, so it is routed here for triage.

DSH Plugin 插件市场 · 安装 Plugin 失败错误信息

本错误信息由 dsh-plugin-hub 插件市场的安装程序自动生成,随本次安装失败一并提交。

  • 实际执行的安装命令:dsh plugin --profile desktop add @changfenhuang/dsh-genui@latest
  • 执行结果:安装失败,未能安装该插件。

Attempted channels(已尝试的方式)

  • dsh plugin --profile desktop add @changfenhuang/dsh-genui@latest

Environment

  • Plugin: omdsh-dev/dsh-genui
  • DSH: v0.2.1-rc.3
  • Plugin Hub: v2.0.6
  • Node: v24.21.0
  • pnpm: v9.10.0
  • npm: v10.9.7
  • git: v2.41.0.windows.1
  • OS: win32 x64 (10.0.26200)
  • Profile: desktop
  • DSH Home: C:\Users\Lenovo\.dsh
  • Full log: ~/.dsh/profiles/desktop/hub.log (paste or attach for the full output)
  • Catalog: https://dsh-plugin.org/plugins/omdsh-dev/dsh-genui?ref=hub

Error (core)

throw new Error(`${binName}: cannot resolve profile bundle ${JSON.stringify(packageName)} from the dsh installation or ${profileDir}; run 'dsh plugin --profile ${basename(profileDir)} install' if its dependency is not installed`);
Error: dsh: cannot resolve profile bundle "@local/dsh-sxzx-kb-page" from the dsh installation or C:\Users\Lenovo\.dsh\profiles\desktop; run 'dsh plugin --profile desktop install' if its dependency is not installed

This error was produced by the dsh-plugin-hub installer bundled with DeepSeek Harness.

Activity

  1. dshplugin commented on Oct 27, 2026

    @dshplugin
    Owner

    这条失败与 omdsh-dev/dsh-genui 本身无关,根因在你本机的 profile 状态。

    关键报错是:

    dsh: cannot resolve profile bundle "@local/dsh-sxzx-kb-page" from the dsh installation or C:\Users\Lenovo\.dsh\profiles\desktop
    

    含义:desktop 这个 profile 的依赖里声明了本地包 @local/dsh-sxzx-kb-page,但它在 profile 的 node_modules 里不存在。dsh 执行任何 dsh plugin 命令前都要先加载 profile 的 bundle,这一步就失败了,所以安装根本没走到插件。

    处理办法(任选其一):

    1. 恢复 profile 依赖:dsh plugin --profile desktop install
    2. 如果你已不再需要这个本地包:从 ~/.dsh/profiles/desktop/package.json 里移除 @local/dsh-sxzx-kb-page 后重试
    3. 如果它是你的本地开发包:确认目录存在,并在 profile 里用 file: 指向正确路径

    处理完成后重试:

    dsh plugin --profile desktop add @changfenhuang/dsh-genui@latest

    另外,你用的是 Hub 2.0.6,这类错误会被归为「未分类」;2.1.0 起会单独识别为「profile 依赖缺失」并直接给出上面这些步骤。建议升级到 2.2.3:

    dsh plugin --profile desktop add dsh-plugin@2.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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