WSL: Libuv fails assert in neovim

After installing neovim

apt-repository ppa:neovim-ppa/unstable
apt-get update
apt-get install neovim

I get the error while running

/build/neovim-jth8Uc/neovim-0.1.2ubuntu1+git201604040922+2383+17~ubuntu14.04.1/.deps/build/src/libuv/src/unix/stream.c:1499: uv_read_start: Assertion '((stream)->io_watcher.fd) >= 0' failed.

It’s possible that this is a neovim bug, but I can confirm that neovim works solidly on OSX and a genuine linux install.

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

yup they aren’t working, i guess i could remap them, don’t tried yet, on conemu i can see some interaction, they are printing ABCD for the arrows and HF for home and end, also page up, down and del they are like a toggle on capitalize letters, i guess those are the escape characters?, but like a i mentioned is just on neovim, vim and vi works fine, my best guest is libuv not knowing how to deal with ubuntu through the windows syscalls?, also i have an latinamerican keyboard, maybe there is an issue there, thanks @benhillis, here is a strace of nvim and trying to press some keys strace

sorry for asking here, but, anyone else having troubles with cursor keys(arrows), <kbd>page-up</kbd> <kbd>page-down</kbd>, <kbd>home</kbd>, <kbd>end</kbd> and <kbd>del</kbd> keys, and their numpad counterparts?, on vim works without problem and can’t find any solution

I tried this on an internal build and it looks like nvim is working now.

I used these install instructions: https://github.com/neovim/neovim/wiki/Installing-Neovim then ran nvim, created a text file and used nvim to edit and save it without issues. Are there other things I should try?