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
It seems to assume that paths use forward slash as file separator. This is problematic in at least two places:
When passing an absolute path to require.
When passing a relative path to require from within a required module, and the path is resolved against the parent path.
1 is solvable by adding a require wrapper that rewrites a Windows path to Unix form. 2 is harder, since the require function in a required module cannot be wrapped if I'm reading the code correctly.
The text was updated successfully, but these errors were encountered:
It seems to assume that paths use forward slash as file separator. This is problematic in at least two places:
require
.require
from within a required module, and the path is resolved against the parent path.1 is solvable by adding a
require
wrapper that rewrites a Windows path to Unix form. 2 is harder, since therequire
function in a required module cannot be wrapped if I'm reading the code correctly.The text was updated successfully, but these errors were encountered: