Skip to content
Discussion options

You must be logged in to vote

npx 这次不是 DSH 自己卡死,是把 @deepseek-ai/dsh@0.1.0-rc.7(当前 latest)整棵依赖树解进临时目录时 V8 堆爆了:Ineffective mark-compacts near heap limit。rc.7/rc.8 的依赖图很大,日志里旧生代已经顶到 ~2046 MB。#3691 / #3485 是同一类。

先不要清整个 npm cache。Windows 上可以:

set NODE_OPTIONS=--max-old-space-size=8192
npm install -g @deepseek-ai/dsh@0.1.0-rc.7
dsh web

装进全局之后用 dsh web,不要每次 npx 再解析一遍。若报目录权限,把 npm prefix 改到用户目录再装,比反复重试 npx 有效。

现在 dist-tag:latest = 0.1.0-rc.7next = 0.1.0-rc.8。要跟 rc.8 就把包名改成 @deepseek-ai/dsh@0.1.0-rc.8@next,安装时同样把堆加大。

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Naezaer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants