This occurs with Nodejs 14.7.0
On line 14 of replace-info.js an attempt is made to construct a new URL(...), however URL is not a constructor.
One fix is to change line 1 to:
const URL = require('url').URL;
Another (possibly better) option to fix is to replace new URL with URL.parse