Open rupurt opened 1 year ago
This is happening in a binary compiled with deno compile
?
Also are you cross compiling this binary (compiling on Linux/macOS, running on Windows?)
If so, I think I know where the bug is:
/foo/bar
, on windows it's C:\foo\bar
file:///foo/bar
url.to_file_path()
, we try to convert /foo/bar
into a Windows path, but that fails and we panic.I'm not sure what the best solution here is. @dsherret ideas?
@lucacasonato yeah I'm cross compiling from Linux x86
deno compile should probably be storing relative paths instead of urls.
When I try to use the
listDatasets
function fromIBM/zos-node-accessor
on Deno v1.37.1 I get the following panic with stacktrace