Closed gobengo closed 9 months ago
Ah, it works when I use the builtin promises interface instead of the errback interface, so maybe there is just some small bug in the errback adapter.
const rdf = await jsonld.toRDF(doc)
works
I had followed the API from this old gist I found https://gist.github.com/bshambaugh/7488b14106fdd2ac4a08f49c47979d46 But I now realize that that API is no longer documented as supported based on the README here.
Summary:
jsonld.js
in node.js, but when I run functions likejsonld.toRDF
(orjsonld.expand
et al), the process dies without much indication of why.Questions
Reduced Test Case:
node --test
on node LTS (20): https://github.com/gobengo/jsonld-test/actions/runs/7159494723/job/19492811217