Open nathanstone opened 1 year ago
Hi @nathanstone ,
Thanks for the details, specially the log.
Out of curiosity, what happens if you use $home
instead of the tilde symbol (~
). Does it work?
Thank you
Assuming you mean something like this:
"projectManager.any.baseFolders": [
"$home/Sites"
],
I get the exact same error.
In this case, I suppose there is some issue with Node.js on your computer. Not sure why.
For some reason, os.homedir();
seems not to be working for you. I use this as a replacement for ~
and $home
while processing the paths.
@nathanstone ,
Are you still not able to use ~
or $home
in the baseFolders
settings? If not, could you try out this in Node.js REPL?
node
in the shellos.homedir()
os.userInfo().homedir
The expected return in steps 3 and 5 should be /Users/nathan
for you.
Still can't use either, only the full path works.
Running the above scripts outputs exactly as you predicted.
Tested on Node v18.12.1 & v16.19.1 on my machine.
Hello, same problem here
Windows 11 WSL2/Debian
Welcome to Node.js v18.19.0.
Type ".help" for more information.
> os.homedir()
'/home/arnaud'
> os.userInfo().homedir
'/home/arnaud'
>
but projectManager.git.baseFolders
does not work with $home or ~.
Mac user here. projectManager.git.baseFolders does not work with $home or ~
How can I help you with it? Do you need some logs? Some love ❤️ ? Some help?
Environment/version
Steps to reproduce
baseFolders
config fromsettings.json
e.g.projectManager.any.baseFolders
baseFolders
config, either manually tosettings.json
or from Settings window, making sure to include a path with~
e.g.Any
option will now be missing from the Project Manager views.Any
option reappear e.g.Continuing the conversation from issue #656