The separator on Windows is \ which is seen as an escape.
\
Caused by path.relative usage on this line
path.relative