==> Running 'node src/index.js'
/opt/render/project/src/node_modules/config/lib/config.js:1006
} else if (Utils.isRegExp(parent)) {
^
TypeError: Utils.isRegExp is not a function
at _clone (/opt/render/project/src/node_modules/config/lib/config.js:1006:22)
at Config.cloneDeep (/opt/render/project/src/node_modules/config/lib/config.js:1046:10)
at /opt/render/project/src/node_modules/config/lib/config.js:1318:32
at Array.forEach (<anonymous>)
at util.extendDeep (/opt/render/project/src/node_modules/config/lib/config.js:1293:9)
at /opt/render/project/src/node_modules/config/lib/config.js:651:12
at Array.forEach (<anonymous>)
at util.loadFileConfigs (/opt/render/project/src/node_modules/config/lib/config.js:648:16)
at new Config (/opt/render/project/src/node_modules/config/lib/config.js:113:27)
at Object.<anonymous> (/opt/render/project/src/node_modules/config/lib/config.js:1510:31)
App runs locally and used to run on Render.com 11 months ago.
But now on trying to deploy (code hasn't changed) it throws this error.