Closed
Description
This will fail to run on Windows because it uses path.normalize
for URL pathnames.
The behavior is very different on Windows and *nix systems and is only recommended for literal file paths and not URL parsing. https://nodejs.org/api/path.html#path_path_normalize_path
Alternative: URL
class in JS.