coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install coc-powershell on Windows

corbob opened this issue · comments

System Details

  • Vim or NeoVim?:NeoVim
  • Version of Vim (run vim --version) or NeoVim (run nvim --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: neoclide/coc.nvim@789e871

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 --