Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install coc-powershell on Windows #138

Open
corbob opened this issue Oct 24, 2021 · 0 comments
Open

Unable to install coc-powershell on Windows #138

corbob opened this issue Oct 24, 2021 · 0 comments

Comments

@corbob
Copy link
Member

corbob commented Oct 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant