Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minpac#update() not working on Windows 10 + nvim 0.5.0 #122

Open
ghillb opened this issue Nov 3, 2020 · 4 comments
Open

minpac#update() not working on Windows 10 + nvim 0.5.0 #122

ghillb opened this issue Nov 3, 2020 · 4 comments

Comments

@ghillb
Copy link

ghillb commented Nov 3, 2020

Hello,

oddly :call minpac#update() fails for me on Windows 10 and nvim 0.5.0 with the following error:

Error detected while processing function <SNR>57_start_update[2]..<SNR>57_update_single_plugin[62]..<SNR>57_start_job[12]..minpac#job#start[1]..<SNR>59_job_start:
line   29:
E903: Process failed to start: no such file or directory: "/bin/bash"

OS: Windows 10 v1809
nvim version: NVIM v0.5.0-801-ga061d53e1
installed via: scoop install neovim-nightly
minpac installed via: git clone https://github.com/k-takata/minpac.git %LOCALAPPDATA%\nvim\pack\minpac\opt\minpac

resulf of :call minpac#update():
Screenshot 2020-11-03 204206

On Linux minpac works flawlessly for me!

@k-takata
Copy link
Owner

k-takata commented Nov 4, 2020

I haven't used Neovim, so I'm not sure why this occurs.
What does :set shell? show? I expect shell=C:\Windows\System32\cmd.exe.
Do you set SHELL environment variable?

@ghillb
Copy link
Author

ghillb commented Nov 4, 2020

You are absolutely right, the shell was pointing to bash. After removing it, :call minpac#update() now throws the following error:
Screenshot 2020-11-04 172419

But after continuing with Return, the packages are installed correctly.

@k-takata
Copy link
Owner

k-takata commented Nov 4, 2020

Can you copy&paste the result of :message?

@ghillb
Copy link
Author

ghillb commented Nov 4, 2020

It is unfortunately just what you see in the screenshot:

Error detected while processing function <SNR>15_HL:
line   43:
E421: Color name or number not recognized: ctermbg= gui=NONE cterm=NONE
E421: Color name or number not recognized: ctermbg= gui=NONE cterm=NONE
E421: Color name or number not recognized: ctermbg= gui=NONE cterm=NONE

I think its a problem with the colorscheme rather than with minpac. For some reason minpac triggers it and that only on Windows.
Edit: I found it, I had to remove let g:gruvbox_sign_column = 'none'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants