0

I'm brand new to programming and I'm getting my environment set up. I'm using CodeRunner on VS Code to get my javascript outputs. In each output though, I'm getting a frustrating error:

\\wsl.localhost\Ubuntu\home\a\prep-work\Javascript\Udemy\JS3_Conditional
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory. 

I couldn't find any answers on the related CodeRunner Github. I'm pretty sure it's some error with path naming but a few hours of searching and playing with CodeRunner settings have me ready to give up. Any help would be greatly appreciated, thanks!

Alex G.
  • 3
  • 2

1 Answers1

0

The eventual fix with this had to do with the fact that I edited some path in my BIOS - if anyone else gets this error, please undo any modifications you made there, restart and try again!

Alex G.
  • 3
  • 2
  • Can you please elaborate? I am using WSL2 by default in VS Code terminal and code runner is bringing out these issues. Please explain your solution. – Aman Ahmed Siddiqui Oct 02 '22 at 09:28
  • Hey - I ended up solving it a while ago so I can't be totally precise. From my WSL home directory, I was navigating to my Windows desktop, and opening files there, and editing code in those directories. WSL / codeRunner doesn't like to play around in the native Windows file structure, so make sure you're only accessing files 'downstream' of your WSL home directory if you want to run that code through WSL (and don't change the location of that home directory, like I did!). Hope that helps – Alex G. Nov 04 '22 at 04:41