Replies: 5 comments 3 replies
|
This looks like a launch-boundary failure, but the current evidence is not enough to attribute it to a specific DSH child process yet. Exit A useful first split is whether the package bin can execute at all: which -a node npm npx
node -p "JSON.stringify({ platform: process.platform, arch: process.arch, execPath: process.execPath })"
npx --yes @deepseek-ai/dsh@latest --version
echo $?The DSH bin handles
For a current workaround and a cleaner control experiment, launch from native Windows PowerShell or Command Prompt using a native Windows Node installation, not the MSYS2 where.exe node
node -p "JSON.stringify({ platform: process.platform, arch: process.arch, execPath: process.execPath })"
npx --yes @deepseek-ai/dsh@latest --version
npx --yes @deepseek-ai/dsh@latest webThis distinction matters because the shipped composition selects its Windows tool stack from If the native-shell run succeeds, that isolates this as an MSYS2 launcher compatibility issue rather than the Windows native-module crash discussed in #197. If it still fails, please paste the four diagnostic outputs above plus I have also collected the current native-Windows versus hybrid-shell boundaries in this Windows compatibility guide. The guide is supplementary; the source links above are the authoritative behavior. |
|
the native-shell runs normally on my device. the issue is indeed an MSYS2 launcher compatibility issue. here is my output from MSYS2: also, I have tried |
|
It seems that some tricks inside |
|
the native-shell runs normally on my device even without the post-installing of the MSVC toolchain. I believe it is an path resolving issue on MSYS2 before pwsh tool loaded. It is likely |
|
It works when i uninstall |
Uh oh!
There was an error while loading. Please reload this page.
Description
When running
npx @deepseek-ai/dsh web(orbunx @deepseek-ai/dsh web) inside an MSYS2 terminal (CLANG64 environment), the command exits immediately with no output and returns exit code127. The web UI does not start.Steps to Reproduce
pacman -S $MINGW_PACKAGE_PREFIX-nodejs.npm install -g bun.Expected Behavior
The command should start the DSH Web UI, which is served at
http://127.0.0.1:3080by default.Actual Behavior
The command exits immediately with no console output. Checking the exit code shows
127:Environment
pacman -S $MINGW_PACKAGE_PREFIX-nodejsnpm install -g bun(optional)Additional Context
Exit code
127typically indicates "command not found". In MSYS2 environments, this can occur when Node.js'schild_process.spawn()attempts to execute a binary that is not in the WindowsPATHor when there are path format mismatches between Unix-style (MSYS2) and Windows-style paths.This issue might be related to how
dshspawns subprocesses or locates native binaries. The problem occurs with bothnpx(Node.js) andbunx(Bun), suggesting it is not specific to the package runner but rather to thedshcommand itself when run in this environment.Possible Cause
The
dshcommand or one of its dependencies may be attempting to execute a binary that is not available in the MSYS2 environment, or there may be a path resolution issue. Given that the command exits silently without any error message, the failure likely occurs very early in the startup process.Related Issues
3221225477and error messages). The MSYS2 issue appears to be a different failure mode.All reactions