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 was archived by the owner on Nov 4, 2023. It is now read-only.
Hello!
When executable code and sources located on separate disk(i.e C:/ and D:/) method require('source-map-resolve").resolveSync works incorrect.
It strips off disk letter(urix package) and after when it trying read from disk, it catch error.
For example:
server running on disk C:, sources located on disk D:
let filePath = 'D:\\projects\\test\\index.js';
sourceMapResolve.resolveSync(someCode, filePath, fs.readFileSync);
I have error:
ENOENT: no such file or directory, open 'C:\projects\test\build\index.js.map'
Because map file located on disk D:
Hello!
When executable code and sources located on separate disk(i.e
C:/andD:/) methodrequire('source-map-resolve").resolveSyncworks incorrect.It strips off disk letter(
urixpackage) and after when it trying read from disk, it catch error.For example:
server running on disk
C:, sources located on diskD:I have error:
ENOENT: no such file or directory, open 'C:\projects\test\build\index.js.map'
Because map file located on disk
D: