rubensworks / rdf-test-suite.js

Executes the RDF and SPARQL test suites.
MIT License
9 stars 6 forks source link

Immutable type error when running in Node 18 #79

Closed jeswr closed 2 years ago

jeswr commented 2 years ago

I think this will be fixed #76, but putting this here in case anyone is trying to debug this in the future.

When running in Node 18 I get the error:

$ node ../rdf-test-suite.js/bin/Runner.js spec/parser.js https://w3c.github.io/rdf-star/tests/trig/syntax/manifest.jsonld
(node:46009) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError: immutable
    at Headers.delete (node:internal/deps/undici/undici:4374:17)
    at Util.<anonymous> (/home/jeswr/Documents/rdfstar/rdf-test-suite.js/lib/Util.js:140:40)
    at Generator.next (<anonymous>)
    at fulfilled (/home/jeswr/Documents/rdfstar/rdf-test-suite.js/lib/Util.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)