-
-
Notifications
You must be signed in to change notification settings - Fork 956
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
Can't install any plugins if node is installed inside a folder with a space on Windows #4987
Comments
fannheyward
added a commit
that referenced
this issue
Apr 22, 2024
fannheyward
added a commit
that referenced
this issue
Apr 22, 2024
Closes #4987 on windows, command should be quoted if containing spaces. nodejs/node#7367
Can you try this fix #4988 ? |
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
@fannheyward It works! Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: