iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.67k stars 277 forks source link

Nothing happened after MarkdownPreview and running markdown-preview-linux binary file raised segmentation fault #498

Open Karmenzind opened 2 years ago

Karmenzind commented 2 years ago

Describe the bug Nothing happened after MarkdownPreview command. No page opened in browser and no error raised in Vim. No markdown-preview in ps -aux. Seems that no server is running. I tried executing ./app/bin/markdown-preview-linux in plugin directory and it raised segmentation fault.

(base) ~/.vim/plugged/markdown-preview.nvim  ‹master*› $ ./app/bin/markdown-preview-linux       
[1]    2418837 segmentation fault  ./app/bin/markdown-preview-linux                                           /0.0s
(base) ~/.vim/plugged/markdown-preview.nvim  ‹master*› $ ./app/bin/markdown-preview-linux --path ./app/server.js 
[1]    2418941 segmentation fault  ./app/bin/markdown-preview-linux --path ./app/server.js                    /0.0s

To Reproduce Steps to reproduce the behavior:

  1. Install the newest version with Vim-Plug. I tried :call mkdp#util#install() and cd app; yarn install.
  2. Open a non-empty markdown document and run :MarkdownPreview

Desktop (please complete the following information):

Log:

/tmp/mkdp-nvim.log doesn't exist.

beyond9thousand commented 2 years ago

Facing the same issue on my end

maxim-h commented 2 years ago

see #497

Karmenzind commented 2 years ago

see #497

@maxim-h 我上面就是手动执行:call mkdp#util#install()的结果