[2023-04-25 09:08:17.818] [ERROR] console - Failed to load hook function "/root/etherpad-lite/node_modules/ep_etherpad-lite/node/hooks/express/importexport:expressCreateServer" for plugin "ep_etherpad-lite" part "importexport" hook set "hooks" hook "expressCreateServer": Error [ERR_REQUIRE_ESM]: Must use import to l oad ES Module: /root/etherpad-lite/src/node_modules/rehype/index.js require() of ES modules is not supported. require() of /root/etherpad-lite/src/node_modules/rehype/index.js from /root/etherpad-lite/src/node/utils/ImportHtml.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /root/etherpad-lite/src/node_modules/rehype/package.json. at Object.Module._extensions..js (internal/modules/cjs/loader.js:1080:13) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (/root/etherpad-lite/src/node/utils/ImportHtml.js:22:16) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14)