markdown-preview.nvim
markdown-preview.nvim copied to clipboard
Nothing happened after MarkdownPreview and running markdown-preview-linux binary file raised segmentation fault
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:
- Install the newest version with Vim-Plug. I tried
:call mkdp#util#install()andcd app; yarn install. - Open a non-empty markdown document and run
:MarkdownPreview
Desktop (please complete the following information):
- OS: Linux version 5.19.4-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Thu, 25 Aug 2022 17:31:12 +0000
Log:
/tmp/mkdp-nvim.log doesn't exist.
Facing the same issue on my end
see #497
see #497
@maxim-h 我上面就是手动执行:call mkdp#util#install()的结果