kiteco / issue-tracker

User-reported issues for Kite
https://Kite.com
1.75k stars 136 forks source link

Windows Subsystem for Linux support? #683

Open RobGThai opened 4 years ago

RobGThai commented 4 years ago

I'm on Windows 10 and using WSL2 with Ubuntu image(Ubuntu 20.04.1 LTS) for my development work. When installing Kite engine, it did not detect Neovim even though I'm using it.

Attempting to install on Ubuntu doesn't seem to work either (See logs below).

➜ bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"

This script will install Kite!

We hope you enjoy! If you run into any issues, please report them at https://github.com/kiteco/issue-tracker.

- The Kite Team

Press enter to continue...

No X11 or Wayland session was found.
Kite Copilot UI won't be launched after the installation.
To login, run this command in a terminal:
        ~/.local/share/kite/login-user

Press enter to continue...
Downloading /home/rob/kite/kite-installer binary using wget...
Running /home/rob/kite/kite-installer install
[installer] no previous kite installation found
[installer] latest version is 2.20201113.0, downloading now...
[installer] Downloading Kite:   18.9% of 481MiB[installer] failed to download kite: error downloading read tcp 172.28.75.152:37506->89.187.162.244:443: read: connection reset by peer: read tcp 172.28.75.152:37506->89.187.162.244:443: read: connection reset by peer
[installer] Rolling back installed data...
[installer] removing kite-autostart systemd service
[installer] terminating kite processes
[installer] removing kite-updater systemd service
[installer] removed ~/.local/share/kite
jansorg commented 4 years ago

Kite installed on Windows can't detect vim/Neovim running inside of the WSL container. Installing Kite inside of the container is the right step (make sure to only run Kite on Windows or in WSL, but not both at the same time). The installation terminated early because the network connection failed. Could you try again and report if the 2nd attempt was successful?