Skip to content

安装时依赖解析失败:@deepseek-ai/dsh-compact 在 npm registry 中不存在(404) #1

Description

@yudonghai200

环境信息:

  • 操作系统:Windows
  • DSH 版本:0.1.5-rc.1(通过 npx 执行)
  • 插件版本:dsh-split-screen@1.0.0
  • Profile:web

复现步骤:

  1. 在 Windows 终端执行安装命令:
npx @deepseek-ai/dsh plugin --profile web add dsh-split-screen
  1. 确认安装后,pnpm 在解析依赖树时报错。

实际结果:

安装过程中 pnpm 报 ERR_PNPM_FETCH_404,具体错误信息如下:

Error: ERR_PNPM_FETCH_404

  x adding a new package
  `-> Failed to resolve dependency tree: GET https://registry.npmjs.org/@deepseek-ai%2Fdsh-compact: Not Found - 404
  help: @deepseek-ai/dsh-compact is not in the npm registry, or you have no permission to fetch it.

        No authorization header was set for the request.

dsh: pnpm failed in profile directory C:\Users\Administrator\.dsh\profiles\web

预期结果:

插件应能正常安装,或至少不因一个不存在的依赖包而导致整个安装流程失败。

补充说明:

  • 执行 npm view dsh-split-screen versions 只返回 1.0.0,插件本身在 npm 上存在。
  • 错误指向的 @deepseek-ai/dsh-compact 在公共 npm registry 中确实不存在,怀疑是插件的依赖清单中引用了一个未发布到公共源的包。
  • 社区中其他插件(如 dsh-vision-toolkit)也遇到过完全相同的 @deepseek-ai/dsh-compact 404 报错。

需要的话,我也可以帮你压缩成更短的版本,适合直接贴在 Issue 里。

Activity

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