I’m porting another app and it keeps crashing because system.pathForFile(fileName,system.ResourceDirectory) and local file = io.open(path, “r”) returns nil.
And: bad argument #1 to ‘open’ (string expected, got nil)
What I am missing? Thanks.
Edit:
It seems to be windows doesn’t want to open .json files.
Is this a known issue? Is there a work around?