coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not install due to nodes problem

jmwatte opened this issue · comments

System Details

NeoVim_:NVIM v0.4.4

  • Version of Vim (run vim --version) or NeoVim (run nvim --version):
  • Version of coc-powershell (in Vim or NeoVim: :CocList extensions coc-powershell): can not install
    Operating System: windows 10
  • PowerShell version (in PowerShell: $PSVersionTable): 7.1.0

Issue Description

can not install coc-powershell with
let g:coc_global_extensions=['coc-powershell']

Expected Behaviour

should install

Actual Behaviour

get this log file....

npm resolution error report

2021-01-07T22:09:00.571Z

Found: @types/node@10.17.50
node_modules/@types/node
dev @types/node@"~10.17.19" from the root project
@types/node@"*" from @types/follow-redirects@1.13.0
node_modules/@types/follow-redirects
dev @types/follow-redirects@"^1.8.0" from the root project

Could not resolve dependency:
dev coc.nvim@"~0.0.77" from the root project

Conflicting peer dependency: @types/node@10.12.0
node_modules/@types/node
peer @types/node@"10.12.0" from coc.nvim@0.0.80
node_modules/coc.nvim

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{
"code": "ERESOLVE",
"current": {
"name": "@types/node",
"version": "10.17.50",
"location": "node_modules/@types/node",
"dependents": [
{
"type": "dev",
"name": "@types/node",
"spec": "10.17.19",
"from": {
"location": "C:\Users\JMWINT
1\AppData\Local\Temp\coc-powershell-Ivsm6i"
}
},
{
"type": "prod",
"name": "@types/node",
"spec": "*",
"from": {
"name": "@types/follow-redirects",
"version": "1.13.0",
"location": "node_modules/@types/follow-redirects",
"dependents": [
{
"type": "dev",
"name": "@types/follow-redirects",
"spec": "^1.8.0",
"from": {
"location": "C:\Users\JMWINT1\AppData\Local\Temp\coc-powershell-Ivsm6i"
}
}
]
}
}
]
},
"edge": {
"type": "dev",
"name": "coc.nvim",
"spec": "0.0.77",
"error": "MISSING",
"from": {
"location": "C:\Users\JMWINT
1\AppData\Local\Temp\coc-powershell-Ivsm6i"
}
},
"peerConflict": {
"name": "@types/node",
"version": "10.12.0",
"whileInstalling": {
"name": "coc-powershell",
"version": "0.1.4",
"path": "C:\Users\JMWINT
1\AppData\Local\Temp\coc-powershell-Ivsm6i"
},
"location": "node_modules/@types/node",
"dependents": [
{
"type": "peer",
"name": "@types/node",
"spec": "10.12.0",
"from": {
"name": "coc.nvim",
"version": "0.0.80",
"whileInstalling": {
"name": "coc-powershell",
"version": "0.1.4",
"path": "C:\Users\JMWINT~1\AppData\Local\Temp\coc-powershell-Ivsm6i"
},
"location": "node_modules/coc.nvim",
"dependents": []
}
}
]
},
"strictPeerDeps": false,
"force": false
}

Solved it by reinstalling nodes.