Unexpected error "Skipping non-existent file"
Opened this issue ยท 2 comments
Southclaws commented
dpopp07 commented
Hmm it looks like you're running on Windows - is that correct? This issue has popped up before, the backslash confuses the code even though it should treat file separators generically
Southclaws commented
Yeah, Windows. Figured so, Windows accepts either slash so /
works but native shells on Windows like PowerShell and Nushell tab-complete to the OS default of \
.
Node.js has APIs for each operating system so you can switch the parser based on path.sep
. Unfortunately it defaults to POSIX only but you can call path.win32
on Windows and path.posix
on Linux.