Update: @hunterlester I’ve looked at my handles (ahem) and did find some bugs but not affecting this. I’ve pushed all changes to github, but note you would need to build my solid-safenetwork.js (npm module), then my forked rdflib.js (npm run build:browser) and copy the dists to my solid-plume fork (those links all go to the relevant branches) if you want to get into that. That’s cos I use symlinks from my solid-plume to solid-safenetwork/dist/solid-safenetwork.js and also to my built rdflib.min.js.
I’m not sure how to debug this further. It could be my code, but other things are fine and everything points to my handles being ok at the point of safeNfs.create() because I call that shortly after listing the entries of _public (you’ll see this in the console output if you try it live - see the OP).
I’m still using
peruse --ignore-certificate-errors (custom built so it allows https although I’m not using http/https in the live version ATM). I did also try with SAFE BRowser 0.7.0 yesterday and got the same result.
So it is pointing towards a bug in safe_app_nodejs, but hard to say and I don’t know how to look into that yet. Also, probably best I continue working on the Solid libs (I can be designing the next phase in the meantime). So if you or one of the MaidSafe team can help that would help me progress.
I may be very close to the first level PoC . It has lots of limitations, so a bit of a leap to the next level, but I think that may be very nice, and lead on to a library not just for LDP as a SAFE service, but for easily adding other services: backends like RemoteStorage as a SAFE service, and even a file sharing service which I’ve been wondering how to do forever it seems . For third parties this just might all work by including one npm module (safe-services) and ensuring the app is using standard fetch().
Update 2: Hunter, your suggestion for mock using an http server works (good enough for now), so I can confirm the above bug is still present running with mock. Any tips on how to debug the browser error. Can’t see much in the sources pane yet.