pocco81 / dap-buddy.nvim

🐞 Debug Adapter Protocol manager for Neovim
GNU General Public License v3.0
400 stars 48 forks source link

Process failed to start: no such file or directory "/bin/bash" #26

Closed fithurriague closed 3 years ago

fithurriague commented 3 years ago

OS: Windows 10 Steps to reproduce: Install the plugin using packer Set up following the docs:

local dap_install = require("dap-install")

dap_install.setup({
    installation_path = vim.fn.stdpath("data") .. "/dapinstall/",
})

Run DIInstall output: Vim:E903: Process failed to start: no such file or directory: "/bin/bash" function: builtin#18 Vim:E903: Process failed to start: no such file or directory: "/bin/bash"

pocco81 commented 3 years ago

Currently DAPInstall does not support Windows, only *.nix systems (Linux, MacOS, ...). I'll work on this for sure, but keep in mind that porting the installer script will the while...

fithurriague commented 3 years ago

Perfect, just consider specifying the os requirements in the readme.

pocco81 commented 3 years ago

just consider specifying the os requirements in the readme.

I added the Caveats section.

I'm closing this issue because the issue it self (related with the shell) was fixed + a bunch of improvements and other bug fixes came with this. Now, the elephant in the room: support for Windows. I'll be working on this when possible but for now the warning on the README about it only working on *nix systems and with Windows through WSL works well.

So yes, sadly in your particular case, since you are using Windows this plugin won't work event with the current improvements. On a personal note... have you ever considered switching to Linux? From my own experience I can affirm that Linux is awesome! you should give it try :)