Closed labra closed 5 years ago
LDflex for Solid only works in browser environments at the moment (due to a recent change). However, a solution to make it work in Node.js is being worked on, see https://github.com/RubenVerborgh/LDflex-Comunica/issues/12.
Indeed, as @rubensworks said, since we started using the authenticated Solid client, we lost Node compatibility for @solid/query-ldflex
, because that client is browser-only. Following up in https://github.com/RubenVerborgh/LDflex-Comunica/issues/12.
I was trying to test LDFlex by following the example instructions in the Readme and created the following program:
When executing it in node (version v11.12.0), it returns:
Should it work or is there something missing?
I created this simple repository in case you want to reproduce it: https://github.com/cursosLabra/ldflextest