chipsenkbeil / chipsenkbeil/distant.nvim

DistantInstall failed - attempt to compare string with nil

Open
#113 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
1.4k
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I encounter this error whenever the DistantInstall command is executed (or any distant command):

```
E5108: Error executing lua ...ite/pack/packer/start/distant.nvim/lua/distant/utils.lua:475: attempt to compare string with nil
stack traceback:
...ite/pack/packer/start/distant.nvim/lua/distant/utils.lua:475: in function 'can_upgrade_version'
.../pack/packer/start/distant.nvim/lua/distant/cli/init.lua:114: in function 'validate_cli'
.../pack/packer/start/distant.nvim/lua/distant/cli/init.lua:129: in function 'install'
...e/pack/packer/start/distant.nvim/lua/distant/command.lua:243: in function 'install'
[string ":lua"]:1: in main chunk
```

To recreate the issue, all you have to do is add the distant.nvim package using Packer, install with :PackerInstall, execute :so, then run the :DistantInstall command. I originally compiled from source and it worked all the way up to the last step of the compilation (i.e. 404/405). This error occurs even when reinstalling it.

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.