Having trouble updating my Parse Server

Perhaps a better way to go is to use what I have working and update / test versions in package.json to reflect release versions of parse-server and the other two add ons.

When I do this, and move from node 16 to node 18 I get this error when starting parse.

The move to node 18 may have made the difference here. Not sure.

I try the following.

  1. Update versions in package.json
  2. remove node_modules and package-json.lock
    3 npm install
    and then I run the server as usual.

warn: DeprecationWarning: The Parse Server option ‘allowClientClassCreation’ default will change to ‘false’ in a future version.
warn: DeprecationWarning: The Parse Server option ‘allowExpiredAuthDataToken’ default will change to ‘false’ in a future version.
/home/chris/testServer20230528/ourhangoutsapp/node_modules/express/lib/router/index.js:446
throw new TypeError('Router.use() requires middleware function but got a ’ + gettype(fn));
^

TypeError: Router.use() requires middleware function but got a Object
at Function. (/home/chris/testServer20230528/ourhangoutsapp/node_modules/express/lib/router/index.js:446:13)
at Array.forEach ()
at Function.use (/home/chris/testServer20230528/ourhangoutsapp/node_modules/express/lib/router/index.js:444:13)
at Function. (/home/chris/testServer20230528/ourhangoutsapp/node_modules/express/lib/application.js:187:21)
at Array.forEach ()
at Function.use (/home/chris/testServer20230528/ourhangoutsapp/node_modules/express/lib/application.js:184:7)
at Object. (/home/chris/testServer20230528/ourhangoutsapp/index.js:293:5)
at Module._compile (node:internal/modules/cjs/loader:1254:14)