nodejs: npm install ethereumjs-common

1.npm install ethereumjs-common

# npm install ethereumjs-common

up to date, audited 719 packages in 6s

89 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[root@localhost 316s]# npm ls
privateinvoice@0.0.1 /opt/PrivateInvoice/316s
tqq axios@0.26.1
tqq bcrypt@5.0.1
tqq binary-uuid@2.0.3
tqq bip39@3.0.4
tqq body-parser@1.19.0
tqq connect-redis@4.0.4
tqq currency.js@1.2.2
tqq dotenv-cli@5.1.0
tqq dotenv@16.0.0
tqq eslint-plugin-react@7.29.4
tqq eslint@8.15.0
tqq ethereumjs-common@1.5.2
tqq ethereumjs-tx@2.1.2
tqq express-session@1.17.2
tqq express@4.17.1
tqq finalhandler@1.1.2
tqq ganache@7.1.0
tqq got@12.0.4
tqq ipfs-http-client@56.0.3
tqq moment@2.29.3
tqq mysql@2.18.1
tqq redis@3.1.2
tqq serve-static@1.14.1
tqq session-file-store@1.5.0
tqq sqlite3@4.2.0
tqq tslib@2.2.0
tqq uniqid@5.3.0
tqq uuid@7.0.3
mqq web3@1.7.3

#

2.実行結果
・forCustomChainは無い
代わりに、npm remove ethereumjs-commonを使う

/opt/PrivateInvoice/316s/routes/buyer_invoice.js:640
        const customCommon = Common.forCustomChain({
                                    ^

TypeError: Common.forCustomChain is not a function