You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS arm64 上 npx / bunx @deepseek-ai/dsh web 直接崩溃:failed to apply loader entry (@deepseek-ai/cordis-plugin-hmr): --expose-internals is required for HMR service。
复现、预期与验收
复现步骤:
macOS arm64(Apple Silicon),Node v24.18.1
npx --yes @deepseek-ai/dsh web 或 bunx @deepseek-ai/dsh web(@deepseek-ai/dsh@0.1.0-rc.6)
实际结果:boot 阶段崩溃,cordis-plugin-hmr 报 --expose-internals is required for HMR service;改用 node --expose-internals <bin> web 可正常启动
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
一句话说明错误结果:
macOS arm64 上
npx/bunx @deepseek-ai/dsh web直接崩溃:failed to apply loader entry (@deepseek-ai/cordis-plugin-hmr): --expose-internals is required for HMR service。复现、预期与验收
npx --yes @deepseek-ai/dsh web或bunx @deepseek-ai/dsh web(@deepseek-ai/dsh@0.1.0-rc.6)cordis-plugin-hmr报--expose-internals is required for HMR service;改用node --expose-internals <bin> web可正常启动npx入口能直接启动cordis-plugin-hmr需要 Node 内部 ESM loader,只能通过--expose-internals获得node-addon-require-builtin在 macOS arm64 上加载失败:Unsupported/no-getter (arm64 getter is not optional-bti-ldr-x0-this-imm-ret)internal/modules/esm/loader,bunx必然失败process.execArgv无--expose-internals时自动 re-exec 注入(已在本地 fork 中实现并验证:node / npx / bunx 全入口可用)node --expose-internals <bin> web启动npx入口在 macOS arm64 上可直接启动 dsh webCo-Authored-By: deepseek-v4-flash
All reactions