Err_internal_assertion

System Information
  • Strapi Version: 4.15
  • Operating System: OSX
  • Database: Postgres
  • Node Version: 20.4.0

Hi!

Whenever Strapi restarts I get the following error most of the time (not all the time)

node:internal/assert:14
    throw new ERR_INTERNAL_ASSERTION(message);
    ^

Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at new NodeError (node:internal/errors:405:5)
    at assert (node:internal/assert:14:11)
    at internalConnectMultiple (node:net:1115:3)
    at Timeout.internalConnectMultipleTimeout (node:net:1683:3)
    at listOnTimeout (node:internal/timers:575:11)
    at process.processTimers (node:internal/timers:514:7) {
  code: 'ERR_INTERNAL_ASSERTION'
}

It’s very annoying, I cannot find a solution online and it’s only happening on one strapi instance while I have dozens running locally.

1 Like

I solved it by installing node v18.13.0

4 Likes