I'm trying to setup Facebook Duckling on Windows 10.
When I execute: stack exec duckling-example-exe
it produces the following error:
duckling-example-exe.EXE: /etc/zoneinfo/: getDirectoryContents:findFirstFile: does not exist (The system cannot find the path specified.)
I don't understand why I'm getting this error since I followed the recommendation on this GitHub thread which suggests replacing "/usr/share/zoneinfo/"
in Duckling/exe/ExampleMain.hs
with a link to a folder containing the zoneinfo
files. You can see I replaced the path as suggested in the screenshot below:
I also tried adding a double slash as seen below - but it didn't help:
I tried with forward slash instead but this didn't help either:
Moreover, I don't understand where the path: /etc/zoneinfo/
is coming from, if the path is no longer present in ExampleMain.hs
? Where is the compiler pulling the path from?
Thanks!
stack exec duckling-example-exe
?"C:\sr\snapshots\b65abc77\bin"
(that's where the fileduckling-example-exe
resides)