markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

Previewer just hangs on the current Arch Linux

Open swapfile-dev opened this issue 3 years ago • 7 comments

<Plug>MarkdownPreview just hangs on my machine. ps shows running node process but nothing happens. How could I debug that?

  • Platform: linux
  • Nvim Version: NVIM v0.7.0
  • INFO: Node version: v16.15.1
  • yarn: info "[email protected]" has binaries: neovim-node-host

swapfile-dev avatar Jun 29 '22 14:06 swapfile-dev

I am having the same problem here running linux Nvim Version: Neovim v0.7.0-3

andre-gonzalez avatar Jun 29 '22 23:06 andre-gonzalez

Weirdly, works for the very first time. If one closes the nvim and tries again, it hangs. Perhaps some process isn't killed correctly or some dangling lock or similar issue. Tried both v16 and v18 versions of nodejs, same behavior.

swapfile-dev avatar Jun 30 '22 11:06 swapfile-dev

I found a fix. You just need to rebuild & reinstall the plugin. In my case:

  1. Delete the plugin: $ rm ~/.config/nvim/plugged/markdown-preview.nvim -rf
  2. Install the plugin: :PlugInstall

Credit: https://github.com/iamcco/markdown-preview.nvim/issues/472#issuecomment-1141258119

AchmadFathoni avatar Jul 05 '22 03:07 AchmadFathoni

I found a fix. You just need to rebuild & reinstall the plugin. In my case:

Unfortunately hasn't helped on my machine at all.

swapfile-dev avatar Jul 05 '22 16:07 swapfile-dev

Same issue. Fedora 36. Nvim 7.0

rag-hav avatar Jul 06 '22 09:07 rag-hav

Same.

NVIM v0.7.2 OS: Arch Linux x86_64 Kernel: 5.18.2-arch1-1

1kanony avatar Jul 08 '22 08:07 1kanony

I have the same problem. It stucks after I type in :MarkdownPreview either on vim or nvim

OS:Arch Linux x86_64 Kernel 6.7.5-arch1-1 VIM 9.1 Neovim v0.9.5

aurora0x27 avatar Feb 21 '24 11:02 aurora0x27