obsidian-github-copilot icon indicating copy to clipboard operation
obsidian-github-copilot copied to clipboard

Spaces in the node path

Open fixfell7 opened this issue 4 months ago • 5 comments

Describe the bug Cant put spaces in the node path

To Reproduce On windows: using C:\Program Files\nodejs\node.exe gives you this error: Error while testing the Node.js path: Node process exited with code 1: 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

using "C:\Program Files\nodejs\node.exe" Node.js executable not found at: C:\ Program Files\Obsidian\"C:\Program Files\nodejs\node.exe". Please check the path.

Expected behavior You can use space in path somehow

Obsidian and environment (please complete the following information):

  • OS: Windows 11
  • Obsidian version: 1.9.12
  • Plugin version : 1.1.8

Additional context Using C:\PROGRA~1\nodejs\node.exe works

fixfell7 avatar Sep 24 '25 12:09 fixfell7

Having the exactly same issue too.

DemonMartin avatar Oct 06 '25 10:10 DemonMartin

Me third. Will probably do a symlink, as the "C:\PROGRA~1\nodejs\node.exe" didn't work for me either.

tiagofema avatar Oct 07 '25 11:10 tiagofema

Me third. Will probably do a symlink, as the "C:\PROGRA~1\nodejs\node.exe" didn't work for me either.

The alternative path worked for me.

Technically a temporary fix is also to move the installation folder of node.js to one where no space is in the path.

DemonMartin avatar Oct 07 '25 11:10 DemonMartin

For some reason, copying it from here and writing it myself didn't work (maybe typo on my part?) but after copying it around, and trying it again, it worked. Thanks guys. Hoping for the fix soon.

Keep up the good work man, much appreciated

tiagofema avatar Oct 07 '25 12:10 tiagofema

@fixfell7 you are GENIUS, thanks a lot

bluesquid29 avatar Oct 13 '25 18:10 bluesquid29