You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to start Parse Server 7.4.0 with Node > 22: Push Adapter fails with "Adapter prototype don't match expected prototype" #9517
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:
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)
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
@3011felix yep agreed on it happening with node > 22.11. I think VS Code debug mode was running a different version of node unbeknownst to me. The PR @dblythy made (#9524) fixes this issue for me.
changed the title [-]Unable to start Parse Server 7.4.0 in VS Code Debug Mode: Push Adapter fails with "Adapter prototype don't match expected prototype"[/-][+]Unable to start Parse Server 7.4.0 with Node > 22: Push Adapter fails with "Adapter prototype don't match expected prototype"[/+]on Jan 14, 2025
Activity
parse-github-assistant commentedon Jan 8, 2025
Thanks for opening this issue!
3011felix commentedon Jan 9, 2025
I also noticed this error on versions < 7.4.0.
I think it's happening since nodejs > 22.11.0
vctechplus commentedon Jan 9, 2025
Have the same issue, but no crash with node 20.x
mtrezza commentedon Jan 9, 2025
Thanks for reporting, we're actively looking into this issue.
pocketcolin commentedon Jan 10, 2025
@3011felix yep agreed on it happening with node > 22.11. I think VS Code debug mode was running a different version of node unbeknownst to me. The PR @dblythy made (#9524) fixes this issue for me.
parseplatformorg commentedon Jan 11, 2025
🎉 This change has been released in version 8.0.0-alpha.2
mtrezza commentedon Jan 11, 2025
Reopen for #9525
dblythy commentedon Jan 14, 2025
@mtrezza what do we need to do to close this?
[-]Unable to start Parse Server 7.4.0 in VS Code Debug Mode: Push Adapter fails with "Adapter prototype don't match expected prototype"[/-][+]Unable to start Parse Server 7.4.0 with Node > 22: Push Adapter fails with "Adapter prototype don't match expected prototype"[/+]mtrezza commentedon Jan 16, 2025
Nothing, can be closed as it's now merged for Parse Server 8 and 7.
parseplatformorg commentedon Mar 12, 2025
🎉 This change has been released in version 7.5.0