Closed
Description
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
After upgrading my server to Parse Server 7.4.0, I discovered that I no longer can start the server with when running a Node version > 22. You can actually fix this issue by fully disabling the push worker and adding the following to your Parse config:
push: {
queueOptions: {
disablePushWorker: true
}
},
Steps to reproduce
- Run Parse Server 7.4.0 (I use it with Express but I'm guessing that's not relevant here) with Node v22.x.
Actual Outcome
In my console, I get the following error:
Error: Adapter prototype don't match expected prototype
at AdaptableController.validateAdapter (/Users/pocketcolin/server/node_modules/parse-server/lib/Controllers/AdaptableController.js:66:13)
at new PushWorker (/Users/pocketcolin/server/node_modules/parse-server/lib/Push/PushWorker.js:32:34)
at Object.getPushController (/Users/pocketcolin/server/node_modules/parse-server/lib/Controllers/index.js:210:18)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async ParseServer.start (/Users/pocketcolin/server/node_modules/parse-server/lib/ParseServer.js:174:30)
at async start (/Users/pocketcolin/server/dist/index.js:239:5)
at async throng (/Users/pocketcolin/server/node_modules/throng/lib/throng.js:24:12)
Expected Outcome
Parse Server starts up normally.
Environment
"node": "22.11.0",
"express": "4.21.0",
"parse-server": "7.4.0"
Server
- Parse Server version:
7.4.0