Spaces in the node path
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
Having the exactly same issue too.
Me third. Will probably do a symlink, as the "C:\PROGRA~1\nodejs\node.exe" didn't work for me either.
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.
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
@fixfell7 you are GENIUS, thanks a lot