AppGyver employee here – I created a simplified repro from your code, and it seems to work fine. See repro here.
One error I was getting when working off your code is that JSON.stringify(fs)
was failing because fs
is a cyclic structure and JSON.stringify
cannot serialize them. If you just do console.log(fs)
, you get the filesystem object fine (you might need to do a location.reload()
in Safari Web Inspector to catch stuff that happens on application load).