Skip to content

Unable to install coc-powershell on Windows #138

@corbob

Description

@corbob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions