Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with nodejs 18 #1

Open
jakubklimek opened this issue May 20, 2022 · 0 comments
Open

Does not work with nodejs 18 #1

jakubklimek opened this issue May 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jakubklimek
Copy link
Member

May 20 14:17:55 xrg01 npm[189163]: Node.js v18.1.0
May 20 14:17:55 xrg01 systemd[1]: kgbrowser-backend.service: Main process exited, code=exited, status=1/FAILURE
May 20 14:17:55 xrg01 systemd[1]: kgbrowser-backend.service: Failed with result 'exit-code'.
May 20 14:17:55 xrg01 systemd[1]: kgbrowser-backend.service: Consumed 1.369s CPU time.
May 20 14:17:56 xrg01 systemd[1]: kgbrowser-backend.service: Scheduled restart job, restart counter is at 2.
May 20 14:17:56 xrg01 systemd[1]: Stopped KG visual browser service.
May 20 14:17:56 xrg01 systemd[1]: kgbrowser-backend.service: Consumed 1.369s CPU time.
May 20 14:17:56 xrg01 systemd[1]: Started KG visual browser service.
May 20 14:17:56 xrg01 npm[189174]: > [email protected] kgserver
May 20 14:17:56 xrg01 npm[189174]: > node kgserver.js
May 20 14:17:57 xrg01 npm[189186]: Knowledge graph browser server listening on port 3000!
May 20 14:18:26 xrg01 npm[189186]: _options is deprecated
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:84,col:16]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:84,col:16]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:84,col:16]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:86,col:151]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:91,col:37]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:94,col:323]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:163,col:222]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:163,col:222]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:163,col:222]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:167,col:276]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:167,col:276]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:167,col:276]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:173,col:293]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:173,col:293]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:173,col:293]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:176,col:300]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:176,col:300]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:176,col:300]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:179,col:279]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:179,col:279]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:180,col:52]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:180,col:52]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found: 
May 20 14:18:26 xrg01 npm[189186]: @#[line:183,col:121]
May 20 14:18:26 xrg01 npm[189186]: [xmldom error]#011entity not found:©
May 20 14:18:26 xrg01 npm[189186]: @#[line:198,col:61]
May 20 14:18:26 xrg01 npm[189186]: _options is deprecated
May 20 14:18:26 xrg01 npm[189186]: message repeated 3 times: [ _options is deprecated]
May 20 14:18:26 xrg01 npm[189186]: /opt/kgbrowser/node_modules/rdflib/lib/fetcher.js:1044
May 20 14:18:26 xrg01 npm[189186]:       var err = new Error('Fetcher: ' + errorMessage); // err.ok = false // Is taken as a response, will work too @@ phase out?
May 20 14:18:26 xrg01 npm[189186]:                 ^
May 20 14:18:26 xrg01 npm[189186]: Error: Fetcher: <https://linked.opendata.cz/describe/?url=https%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government> Not Found
May 20 14:18:26 xrg01 npm[189186]:     at Fetcher.failFetch (/opt/kgbrowser/node_modules/rdflib/lib/fetcher.js:1044:17)
May 20 14:18:26 xrg01 npm[189186]:     at /opt/kgbrowser/node_modules/rdflib/lib/fetcher.js:1748:26
May 20 14:18:26 xrg01 npm[189186]:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
May 20 14:18:26 xrg01 npm[189186]:   status: 404,
May 20 14:18:26 xrg01 npm[189186]:   statusText: '<https://linked.opendata.cz/describe/?url=https%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government> Not Found',
May 20 14:18:26 xrg01 npm[189186]:   response: Response {
May 20 14:18:26 xrg01 npm[189186]:     size: 0,
May 20 14:18:26 xrg01 npm[189186]:     timeout: 0,
May 20 14:18:26 xrg01 npm[189186]:     [Symbol(Body internals)]: {
May 20 14:18:26 xrg01 npm[189186]:       body: Gunzip {
May 20 14:18:26 xrg01 npm[189186]:         _writeState: Uint32Array(2) [ 16014, 0 ],
May 20 14:18:26 xrg01 npm[189186]:         _readableState: ReadableState {
May 20 14:18:26 xrg01 npm[189186]:           objectMode: false,
May 20 14:18:26 xrg01 npm[189186]:           highWaterMark: 16384,
May 20 14:18:26 xrg01 npm[189186]:           buffer: BufferList { head: null, tail: null, length: 0 },
May 20 14:18:26 xrg01 npm[189186]:           length: 0,
May 20 14:18:26 xrg01 npm[189186]:           pipes: [],
May 20 14:18:26 xrg01 npm[189186]:           flowing: true,
May 20 14:18:26 xrg01 npm[189186]:           ended: true,
May 20 14:18:26 xrg01 npm[189186]:           endEmitted: true,
May 20 14:18:26 xrg01 npm[189186]:           reading: false,
May 20 14:18:26 xrg01 npm[189186]:           constructed: true,
May 20 14:18:26 xrg01 npm[189186]:           sync: false,
May 20 14:18:26 xrg01 npm[189186]:           needReadable: false,
May 20 14:18:26 xrg01 npm[189186]:           emittedReadable: false,
May 20 14:18:26 xrg01 npm[189186]:           readableListening: false,
May 20 14:18:26 xrg01 npm[189186]:           resumeScheduled: false,
May 20 14:18:26 xrg01 npm[189186]:           errorEmitted: false,
May 20 14:18:26 xrg01 npm[189186]:           emitClose: true,
May 20 14:18:26 xrg01 npm[189186]:           autoDestroy: true,
May 20 14:18:26 xrg01 npm[189186]:           destroyed: true,
May 20 14:18:26 xrg01 npm[189186]:           errored: null,
May 20 14:18:26 xrg01 npm[189186]:           closed: true,
May 20 14:18:26 xrg01 npm[189186]:           closeEmitted: true,
May 20 14:18:26 xrg01 npm[189186]:           defaultEncoding: 'utf8',
May 20 14:18:26 xrg01 npm[189186]:           awaitDrainWriters: null,
May 20 14:18:26 xrg01 npm[189186]:           multiAwaitDrain: false,
May 20 14:18:26 xrg01 npm[189186]:           readingMore: false,
May 20 14:18:26 xrg01 npm[189186]:           dataEmitted: true,
May 20 14:18:26 xrg01 npm[189186]:           decoder: null,
May 20 14:18:26 xrg01 npm[189186]:           encoding: null,
May 20 14:18:26 xrg01 npm[189186]:           [Symbol(kPaused)]: false
May 20 14:18:26 xrg01 npm[189186]:         },
May 20 14:18:26 xrg01 npm[189186]:         _events: [Object: null prototype] {
May 20 14:18:26 xrg01 npm[189186]:           prefinish: [Function: prefinish],
May 20 14:18:26 xrg01 npm[189186]:           error: [ [Function (anonymous)], [Function (anonymous)] ],
May 20 14:18:26 xrg01 npm[189186]:           data: [Function (anonymous)],
May 20 14:18:26 xrg01 npm[189186]:           end: [Function (anonymous)]
May 20 14:18:26 xrg01 npm[189186]:         },
May 20 14:18:26 xrg01 npm[189186]:         _eventsCount: 4,
May 20 14:18:26 xrg01 npm[189186]:         _maxListeners: undefined,
May 20 14:18:26 xrg01 npm[189186]:         _writableState: WritableState {
May 20 14:18:26 xrg01 npm[189186]:           objectMode: false,
May 20 14:18:26 xrg01 npm[189186]:           highWaterMark: 16384,
May 20 14:18:26 xrg01 npm[189186]:           finalCalled: true,
May 20 14:18:26 xrg01 npm[189186]:           needDrain: false,
May 20 14:18:26 xrg01 npm[189186]:           ending: true,
May 20 14:18:26 xrg01 npm[189186]:           ended: true,
May 20 14:18:26 xrg01 npm[189186]:           finished: true,
May 20 14:18:26 xrg01 npm[189186]:           destroyed: true,
May 20 14:18:26 xrg01 npm[189186]:           decodeStrings: true,
May 20 14:18:26 xrg01 npm[189186]:           defaultEncoding: 'utf8',
May 20 14:18:26 xrg01 npm[189186]:           length: 0,
May 20 14:18:26 xrg01 npm[189186]:           writing: false,
May 20 14:18:26 xrg01 npm[189186]:           corked: 0,
May 20 14:18:26 xrg01 npm[189186]:           sync: false,
May 20 14:18:26 xrg01 npm[189186]:           bufferProcessing: false,
May 20 14:18:26 xrg01 npm[189186]:           onwrite: [Function: bound onwrite],
May 20 14:18:26 xrg01 npm[189186]:           writecb: null,
May 20 14:18:26 xrg01 npm[189186]:           writelen: 0,
May 20 14:18:26 xrg01 npm[189186]:           afterWriteTickInfo: null,
May 20 14:18:26 xrg01 npm[189186]:           buffered: [],
May 20 14:18:26 xrg01 npm[189186]:           bufferedIndex: 0,
May 20 14:18:26 xrg01 npm[189186]:           allBuffers: true,
May 20 14:18:26 xrg01 npm[189186]:           allNoop: true,
May 20 14:18:26 xrg01 npm[189186]:           pendingcb: 0,
May 20 14:18:26 xrg01 npm[189186]:           constructed: true,
May 20 14:18:26 xrg01 npm[189186]:           prefinished: true,
May 20 14:18:26 xrg01 npm[189186]:           errorEmitted: false,
May 20 14:18:26 xrg01 npm[189186]:           emitClose: true,
May 20 14:18:26 xrg01 npm[189186]:           autoDestroy: true,
May 20 14:18:26 xrg01 npm[189186]:           errored: null,
May 20 14:18:26 xrg01 npm[189186]:           closed: true,
May 20 14:18:26 xrg01 npm[189186]:           closeEmitted: true,
May 20 14:18:26 xrg01 npm[189186]:           [Symbol(kOnFinished)]: []
May 20 14:18:26 xrg01 npm[189186]:         },
May 20 14:18:26 xrg01 npm[189186]:         allowHalfOpen: true,
May 20 14:18:26 xrg01 npm[189186]:         bytesWritten: 3609,
May 20 14:18:26 xrg01 npm[189186]:         _handle: null,
May 20 14:18:26 xrg01 npm[189186]:         _outBuffer: Buffer(16384) [Uint8Array] [
May 20 14:18:26 xrg01 npm[189186]:            84,  32,  45,  45,  62,  10,  32,  32,  32,  32,  60,  47,
May 20 14:18:26 xrg01 npm[189186]:           100, 105, 118,  62,  32,  60,  33,  45,  45,  32,  35,  80,
May 20 14:18:26 xrg01 npm[189186]:            71,  32,  45,  45,  62,  10,  60,  33,  45,  45,  32,  32,
May 20 14:18:26 xrg01 npm[189186]:            32,  32,  60, 100, 105, 118,  32, 105, 100,  61,  34, 102,
May 20 14:18:26 xrg01 npm[189186]:            99, 116,  95, 115, 101, 108, 101,  99, 116, 111, 114,  95,
May 20 14:18:26 xrg01 npm[189186]:           116, 112, 108,  34,  32, 115, 116, 121, 108, 101,  61,  34,
May 20 14:18:26 xrg01 npm[189186]:           100, 105, 115, 112, 108,  97, 121,  58, 110, 111, 110, 101,
May 20 14:18:26 xrg01 npm[189186]:            34,  62,  10,  32,  32,  32,  32,  32,  32,  60, 104,  51,
May 20 14:18:26 xrg01 npm[189186]:            62,  60,  47, 104,
May 20 14:18:26 xrg01 npm[189186]:           ... 16284 more items
May 20 14:18:26 xrg01 npm[189186]:         ],
May 20 14:18:26 xrg01 npm[189186]:         _outOffset: 370,
May 20 14:18:26 xrg01 npm[189186]:         _chunkSize: 16384,
May 20 14:18:26 xrg01 npm[189186]:         _defaultFlushFlag: 2,
May 20 14:18:26 xrg01 npm[189186]:         _finishFlushFlag: 2,
May 20 14:18:26 xrg01 npm[189186]:         _defaultFullFlushFlag: 3,
May 20 14:18:26 xrg01 npm[189186]:         _info: undefined,
May 20 14:18:26 xrg01 npm[189186]:         _maxOutputLength: 4294967296,
May 20 14:18:26 xrg01 npm[189186]:         _level: -1,
May 20 14:18:26 xrg01 npm[189186]:         _strategy: 0,
May 20 14:18:26 xrg01 npm[189186]:         [Symbol(kCapture)]: false,
May 20 14:18:26 xrg01 npm[189186]:         [Symbol(kCallback)]: null,
May 20 14:18:26 xrg01 npm[189186]:         [Symbol(kError)]: null
May 20 14:18:26 xrg01 npm[189186]:       },
May 20 14:18:26 xrg01 npm[189186]:       disturbed: true,
May 20 14:18:26 xrg01 npm[189186]:       error: null
May 20 14:18:26 xrg01 npm[189186]:     },
May 20 14:18:26 xrg01 npm[189186]:     [Symbol(Response internals)]: {
May 20 14:18:26 xrg01 npm[189186]:       url: 'https://linked.opendata.cz/describe/?url=https%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government',
May 20 14:18:26 xrg01 npm[189186]:       status: 404,
May 20 14:18:26 xrg01 npm[189186]:       statusText: 'Not Found',
May 20 14:18:26 xrg01 npm[189186]:       headers: Headers {
May 20 14:18:26 xrg01 npm[189186]:         [Symbol(map)]: [Object: null prototype] {
May 20 14:18:26 xrg01 npm[189186]:           server: [ 'nginx/1.21.6' ],
May 20 14:18:26 xrg01 npm[189186]:           date: [ 'Fri, 20 May 2022 12:18:26 GMT' ],
May 20 14:18:26 xrg01 npm[189186]:           'content-type': [ 'text/html; charset=UTF-8' ],
May 20 14:18:26 xrg01 npm[189186]:           'transfer-encoding': [ 'chunked' ],
May 20 14:18:26 xrg01 npm[189186]:           connection: [ 'close' ],
May 20 14:18:26 xrg01 npm[189186]:           'cache-control': [ 'no-cache, must-revalidate' ],
May 20 14:18:26 xrg01 npm[189186]:           pragma: [ 'no-cache' ],
May 20 14:18:26 xrg01 npm[189186]:           link: [
May 20 14:18:26 xrg01 npm[189186]:             '<http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Frdf%2Bxml>; rel="alternate"; type="application/rdf+xml"; title="Structured Descriptor Document (RDF/XML format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=text%2Fn3>; rel="alternate"; type="text/n3"; title="Structured Descriptor Document (N3/Turtle format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Frdf%2Bjson>; rel="alternate"; type="application/rdf+json"; title="Structured Descriptor Document (RDF/JSON format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Fatom%2Bxml>; rel="alternate"; type="application/atom+xml"; title="Structured Descriptor Document (OData/Atom format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Fodata%2Bjson>; rel="alternate"; type="application/odata+json"; title="Structured Descriptor Document (OData/JSON format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=text%2Fcxml>; rel="alternate"; type="text/cxml"; title="Structured Descriptor Document (CXML format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=text%2Fcsv>; rel="alternate"; type="text/csv"; title="Structured Descriptor Document (CSV format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Fmicrodata%2Bjson>; rel="alternate"; type="application/microdata+json"; title="Structured Descriptor Document (Microdata/JSON format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=text%2Fhtml>; rel="alternate"; type="text/html"; title="Structured Descriptor Document (HTML+Microdata format)", <http://linked.opendata.cz/sparql?query=define%20sql%3Adescribe-mode%20%22CBD%22%20%20DESCRIBE%20%3Chttps%25253A%25252F%25252Flinked.opendata.cz%25252Fresource%25252Fknowledge-graph-browser%25252Fmeta-configuration%25252Fczech-government%3E&output=application%2Fld%2Bjson>; rel="alternate"; type="application/ld+json"; title="Structured Descriptor Document (JSON-LD format)", <https%253A%252F%252Flinked.opendata.cz%252Fresource%252Fknowledge-graph-browser%252Fmeta-configuration%252Fczech-government>; rel="http://xmlns.com/foaf/0.1/primaryTopic", <?first>; rel="first", <?last>; rel="last", <?next>; rel="next", <?prev>; rel="prev", <https%253A%252F%252Flinked.opendata.cz%252Fresource%252Fknowledge-graph-browser%252Fmeta-configuration%252Fczech-government>; rev="describedby"'
May 20 14:18:26 xrg01 npm[189186]:           ],
May 20 14:18:26 xrg01 npm[189186]:           'strict-transport-security': [ 'max-age=63072000; includeSubDomains; preload' ],
May 20 14:18:26 xrg01 npm[189186]:           'content-encoding': [ 'gzip' ]
May 20 14:18:26 xrg01 npm[189186]:         }
May 20 14:18:26 xrg01 npm[189186]:       },
May 20 14:18:26 xrg01 npm[189186]:       counter: 0
May 20 14:18:26 xrg01 npm[189186]:     }
May 20 14:18:26 xrg01 npm[189186]:   }
May 20 14:18:26 xrg01 npm[189186]: }
@jakubklimek jakubklimek added the bug Something isn't working label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant