安装neovim的报错
This commit is contained in:
parent
0f7cc981ce
commit
b46399dbb8
28
README.CN.md
28
README.CN.md
@ -579,3 +579,31 @@ fix SpaceVim Unknown function: TSOnBufEnter
|
||||
* 打开vim 运行`:CheckHealth` 查看当前vim状态,有啥报错修复啥
|
||||
* 重新打开vim 再运行`:UpdateRemotePlugins`
|
||||
* 如果还不行,在`~/.local/share/nvim/rplugin.vim` 添加`call dein#reinstall(['nvim-typescript'])`,重新打开vim等待`nvim-typescript`插件安装
|
||||
|
||||
#### 问题汇总:
|
||||
|
||||
报错:
|
||||
|
||||
`npm ERR! Protocol "https:" not supported. Expected "http:"`
|
||||
|
||||
解决方案:
|
||||
|
||||
淘宝源:`npm config set registry https://registry.npm.taobao.org`
|
||||
|
||||
原npm源:`npm config set registry http://registry.npmjs.org`
|
||||
|
||||
检查node的版本号,选择v12.20.1以下的版本,请勿使用高版本的node
|
||||
|
||||
```
|
||||
nvm ls
|
||||
nvm install v12.20.1
|
||||
nvm use v12.20.1
|
||||
nvm uninstall 版本号
|
||||
```
|
||||
|
||||
重新安装neovim和typescrip,然后重新打开以下vim,等待插件安装成功即可
|
||||
|
||||
* `npm install -g neovim`
|
||||
* `npm install -g typescrip`
|
||||
* 重新打开vim等待nvim-typescript插件安装
|
||||
|
Loading…
Reference in New Issue
Block a user