junegunn / junegunn/vim-plug

The system cannot find the specified path when calling :PlugClean or :PlugInstall

Open
#1,057 2 comments 1 reaction 0 assignees View on GitHub
bug neovim windows
Dominant language
Vim Script
Stars
35.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

When I run commands such as `:PlugClean`, I get an error saying
> The system cannot find the specified path
![image](https://user-images.githubusercontent.com/11398826/104259959-7dd28e80-5450-11eb-98e3-ab7edf3a36f0.png)

However, if I copy and paste the exact path into the explorer, the directory exists

![image](https://user-images.githubusercontent.com/11398826/104260017-9b9ff380-5450-11eb-9b82-90cc45a8ef52.png)
![image](https://user-images.githubusercontent.com/11398826/104260033-a2c70180-5450-11eb-87c5-8d79d5608d7c.png)

It also happens with `:PlugInstall`

![image](https://user-images.githubusercontent.com/11398826/104260158-ef124180-5450-11eb-8d9b-a34d04d6d174.png)

Running `:PlugStatus` outputs the following

![image](https://user-images.githubusercontent.com/11398826/104260212-081af280-5451-11eb-95d4-da4b91ed915c.png)

------------------------------

```
:version
NVIM v0.4.4
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG -DMIN_LOG_LEVEL=3 /W3 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -D_WIN32_WINNT=0x0600 -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/nvim-deps/usr/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include
Compiled by appveyor@APPVYR-WIN

Features: -acl +iconv +tui
See ":help feature-compile"

system vimrc file: "$VIM\sysinit.vim"
fall-back for $VIM: "C:/Program Files/nvim/share/nvim"

Run :checkhealth for more info
```

- Type:
- [ ] Bug
- [ ] Enhancement
- [ ] Feature Request
- [x] Question
- OS:
- [ ] All/Other
- [ ] Linux
- [ ] OS X
- [x] Windows
- Vim:
- [ ] Terminal Vim
- [ ] GVim
- [x] Neovim

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.