-
Notifications
You must be signed in to change notification settings - Fork 29
Incorrect path resolving on Windows with multiple disks #9
Comments
Could you show input, actual output and expected output? |
Idea: Maybe source-map-resolve shouldn’t try to be smart with URL-to-path conversion at all, and leave it completely up to the |
I have same issue, is there a chance to get that fixed?
For my usecase, that would be the perfect solution. |
@jens-duttke I really dislike this package, so don’t expect anything. Try to use a different dependency if you can. I might accept a PR, but last time I said that I ended up merging it to another branch then left it hanging 😢 #20 |
Do you have any recommendations? I tried different packages, but this one works best and is easy to use. The workaround I've implemented in my code now, is:
Anyhow, it would be good to get rid of this hack. |
Hello!
When executable code and sources located on separate disk(i.e
C:/
andD:/
) methodrequire('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 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:
The text was updated successfully, but these errors were encountered: