The latest prom-client 13.0.x does not work due to some api changes. The new prom-client has some substantial enhancements so would be nice to be able to use.
https://github.com/siimon/prom-client/releases
Main impacting change:
metrics server has a line like res.send(register.metrics()), you
should change it to res.send(await register.metrics()).