coc-powershell
coc-powershell copied to clipboard
Unable to install coc-powershell on Windows
System Details
- Vim or NeoVim?:NeoVim
-
Version of Vim (run
vim --version
) or NeoVim (runnvim --version
):0.5.1 -
Version of
coc-powershell
(in Vim or NeoVim::CocList extensions coc-powershell
):N/A - Operating System:Microsoft Windows [Version 10.0.19043.1288]
-
PowerShell version (in PowerShell:
$PSVersionTable
):7.1.5
Issue Description
I am experiencing a problem with installing coc-powershell. I do the :CocInstall coc-powershell
and it downloads some files and ends with "Install finished" followed by stating that npm.cmd install exited with 1.
Long story short I tracked it down to needing --legacy-peer-deps
on the npm install
this is available in master of coc.nvim, but not in release: https://github.com/neoclide/coc.nvim/commit/789e871d868d71dd97d59e11cc395c7fb089951a
The Plug line in my init.vim now looks like: Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}}
It would probably be good to update the README to mention this until coc.nvim releases a version that fixes this.
Expected Behaviour
coc-powershell should install.
Actual Behaviour
-- Description of what actually happens --