Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

path module doesn't let you parse Windows paths from Linux #5894

Closed
jamescostian opened this issue Jul 24, 2013 · 1 comment
Closed

path module doesn't let you parse Windows paths from Linux #5894

jamescostian opened this issue Jul 24, 2013 · 1 comment

Comments

@jamescostian
Copy link

If you run something from the path module like path.basename from a machine running Linux then Node won't understand the Windows-style paths (like C:\foo\bar.baz).

@tjfontaine
Copy link

Thanks, I need to cleanup and land #5661 for now there is also a transitional module that lets you do this, see https://npmjs.org/package/path-platform

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants