iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.76k stars 280 forks source link

vim-plun 转 dein 出现的问题。 #372

Closed hyaray closed 2 years ago

hyaray commented 3 years ago

安装配置,官方说是 call dein#add('iamcco/markdown-preview.nvim', {'on_ft': ['markdown', 'pandoc.markdown', 'rmd'], \ 'build': 'sh -c "cd app && yarn install"' }) 这应该是Linux的配置,windows 下 sh -c 是不行的,直接用 'cd app && yarn instal' 可行? :MarkdownPreview 后,功能正常,但是有错误提示,不知道是什么原因。请求帮助: 环境win10,vim8

[vim-node-rpc] rpc error: (node: 7020 Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency [vim-node-rpc] rpc error:Use node --trace-warnings ... to show where the warning was created) (node: 18284) Warning: Accessing non-existent property 'padLevels'c module exports inside circular dependency (Use node --trace-warings ... to show where the warning was created)

hyaray commented 3 years ago

似乎是node版本太高的原因,用的14.17.5,希望能修复下,谢谢!

oeyoews commented 3 years ago

似乎是node版本太高的原因,用的14.17.5,希望能修复下,谢谢!

resoliwan commented 2 years ago

It is only worked at node v10.24.1 -> v12.22.10 v14.17.5 v16.13.2

hyaray commented 2 years ago

用了最新的v16.13.2,还是同样的错误提示,功能正常,也就不太上心了,官方有心就修复下。

iamcco commented 2 years ago

vim-node-rpc 的问题,已经去掉了