You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nelsyeung
changed the title
Can't install any plugins if node is installed inside a folder with a space on Windowsk
Can't install any plugins if node is installed inside a folder with a space on Windows
Apr 22, 2024
Result from CocInfo
Describe the bug
Can't install any plugins with node is installed inside a folder with a space (e.g.,
C:\Program Files\nodejs\node.CMD
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't
reproduce it
Create file
mini.vim
with:Start (neo)vim with command:
vim -u mini.vim
Operate vim.
Extra info
According to https://stackoverflow.com/a/30893153/2687427 you cannot use the full path for
child_process.spawn
.For now, I have hacked in
"npm.CMD"
instead ofthis.npm
to allow this to work:coc.nvim/src/extension/installer.ts
Line 239 in 77ae2d4
src/extension/install.ts
The text was updated successfully, but these errors were encountered: