How to change node-gyp version?

According to node-gyp -v in my failed build the node-gyp version in Ubuntu Focal is 3.3.1.

This is super-weird since Ubuntu Focal is based on Debian 10, which contains node-gyp version 3.8.0, which can build the project on my local machine without any issue.

Is it possible to change the version? Also (mostly out of curiosity) anyone has a clue why there are packages in newest Ubuntu that are older than in Debian stable?

Imprint