You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
which at least doesn't mix forward slashes with backslashes, but the drive letter is missing.
I'm not sure what the proper way to fix this would be. I don't know if it even makes sense to be able to call the path.resolve platform-specific function with relative paths when node is running on a different platform, since path.resolve relies on process.cwd.
Using
path.posix.resolve
on Windows with relative paths gives the following output:Using
path.win32.resolve
On OSX with relative paths gives:which at least doesn't mix forward slashes with backslashes, but the drive letter is missing.
I'm not sure what the proper way to fix this would be. I don't know if it even makes sense to be able to call the
path.resolve
platform-specific function with relative paths when node is running on a different platform, sincepath.resolve
relies onprocess.cwd
.This discussion had started in a comment for another issue.
The text was updated successfully, but these errors were encountered: