running in development mode
Warning: If you're using jskos-server behind a reverse proxy, it is necessary to add baseUrl to the configuration file!
/home/dt/Dokumente/jskos-server/lib/import.js:542
}).finally(() => {
^
TypeError: connect(...).then(...).finally is not a function
at clearCollection (/home/dt/Dokumente/jskos-server/lib/import.js:542:13)
at Object. (/home/dt/Dokumente/jskos-server/import.js:104:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
Your Node.js version is too old to support finally for Promises. I wasn't aware that it requires a newer Node.js version, so I replaced it with other compatible code. Please try again. ;)
I tried to import with the following error message: ./import.sh
running in development mode Warning: If you're using jskos-server behind a reverse proxy, it is necessary to add
baseUrl
to the configuration file! /home/dt/Dokumente/jskos-server/lib/import.js:542 }).finally(() => { ^TypeError: connect(...).then(...).finally is not a function at clearCollection (/home/dt/Dokumente/jskos-server/lib/import.js:542:13) at Object. (/home/dt/Dokumente/jskos-server/import.js:104:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3