pnpm start: ERR_REQUIRE_ESM

pnpm start fails with error:

pnpm start
 WARN  Unsupported engine: wanted: {"node":">=18.0.0"} (current: {"node":"v16.14.2","pnpm":"7.2.1"})

> duniter-indexer@0.0.2 start /home/cedric/dev/duniter-indexer
> node build/server.js

Server started on 0.0.0.0:3000
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/cedric/dev/duniter-indexer/node_modules/.pnpm/fastify-hasura@0.1.1/node_modules/fastify-hasura/plugin.js from /home/cedric/dev/duniter-indexer/build/server.js not supported.
Instead change the require of plugin.js in /home/cedric/dev/duniter-indexer/build/server.js to a dynamic import() which is available in all CommonJS modules.
    at /home/cedric/dev/duniter-indexer/build/server.js:70:46 {
  code: 'ERR_REQUIRE_ESM'
}
 ELIFECYCLE  Command failed with exit code 1.

Note: I tested with both NodeJS 16 and 18, same behavior.