Path.replace is not a function ERROR

Hello team,
I am running the frontend as a kubernetes pod, in the logs I see the service coming up:

[ 2020-11-09 15:54:35] PM2 log: Launching in no daemon mode
[2020-11-09 15:54:35] PM2 log: Starting execution sequence in -cluster mode- for app name:server id:0
[2020-11-09 15:54:35] PM2 log: App name:server id:0 online
[2020-11-09 15:54:35] PM2 log: Starting execution sequence in -cluster mode- for app name:server id:1
[2020-11-09 15:54:35] PM2 log: App name:server id:1 online
[2020-11-09 15:54:35] PM2 log: Starting execution sequence in -cluster mode- for app name:server id:2
[2020-11-09 15:54:35] PM2 log: App name:server id:2 online
[2020-11-09 15:54:35] PM2 log: Starting execution sequence in -cluster mode- for app name:server id:3
[2020-11-09 15:54:35] PM2 log: App name:server id:3 online
2020-11-09 15:54:41: WARNING: NODE_ENV value of ‘docker’ did not match any deployment config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_APP_INSTANCE value of ‘0’ did not match any instance config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_ENV value of ‘docker’ did not match any deployment config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_APP_INSTANCE value of ‘1’ did not match any instance config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_ENV value of ‘docker’ did not match any deployment config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_APP_INSTANCE value of ‘3’ did not match any instance config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_ENV value of ‘docker’ did not match any deployment config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:41: WARNING: NODE_APP_INSTANCE value of ‘2’ did not match any instance config file names.
2020-11-09 15:54:41: WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2020-11-09 15:54:43: Output Compression is enabled
2020-11-09 15:54:43: Output Compression is enabled
2020-11-09 15:54:43: Output Compression is enabled
2020-11-09 15:54:44: Output Compression is enabled
2020-11-09 15:54:44:
----------------------------------------------------------
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: | Vue Storefront Server started at http://0.0.0.0:3000 |
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: ----------------------------------------------------------
2020-11-09 15:54:44:
----------------------------------------------------------
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: | Vue Storefront Server started at http://0.0.0.0:3000 |
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: ----------------------------------------------------------
2020-11-09 15:54:44:
----------------------------------------------------------
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: | Vue Storefront Server started at http://0.0.0.0:3000 |
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: ----------------------------------------------------------
2020-11-09 15:54:44:
----------------------------------------------------------
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: | Vue Storefront Server started at http://0.0.0.0:3000 |
2020-11-09 15:54:44: | |
2020-11-09 15:54:44: ---------------------------------------------------------

but when I access http://0.0.0.0:3000 I get:

2020-11-09 12:06:26: Error during render : /
2020-11-09 12:06:26: TypeError: path.replace is not a function
    at normalizePath (/var/www/node_modules/vue-router/dist/vue-router.common.js:1460:30)
    at addRouteRecord (/var/www/node_modules/vue-router/dist/vue-router.common.js:1338:24)
    at /var/www/node_modules/vue-router/dist/vue-router.common.js:1285:5
    at Array.forEach (<anonymous>)
    at createRouteMap (/var/www/node_modules/vue-router/dist/vue-router.common.js:1284:10)
    at Object.addRoutes (/var/www/node_modules/vue-router/dist/vue-router.common.js:1480:5)
    at VueRouter.addRoutes (/var/www/node_modules/vue-router/dist/vue-router.common.js:2892:16)
    at Object.addRoutesByPriority (core/lib/router-manager.ts:46:16)
    at Object.flushRouteQueue (core/lib/router-manager.ts:27:32)
    at server-bundle.js:15:180845

any ideas where to look please? :slight_smile: