Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error [ERR_INTERNAL_ASSERTION]: Unknown worker message type message #57123

Open
Saurabh4626 opened this issue Feb 18, 2025 · 0 comments
Open

Comments

@Saurabh4626
Copy link

Version

18.19.1

Platform

Darwin 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64

Subsystem

No response

What steps will reproduce the bug?

Stack Trace
at new NodeError (node:internal/errors:405:5)
at Function.fail (node:internal/assert:20:9)
at [kOnMessage] (node:internal/worker:342:12)
at MessagePort. (node:internal/worker:225:57)
at _ZoneDelegate.invokeTask (node_modules/zone.js/fesm2015/zone.js:403:33)
at ZoneImpl.runTask (node_modules/zone.js/fesm2015/zone.js:159:47)
at ZoneTask.invokeTask [as invoke] (node_modules/zone.js/fesm2015/zone.js:484:34)
at invokeTask (node_modules/zone.js/fesm2015/zone.js:1139:18)
at globalCallback (node_modules/zone.js/fesm2015/zone.js:1170:29)
at MessagePort.globalZoneAwareCallback (node_modules/zone.js/fesm2015/zone.js:1203:16) {
code: 'ERR_INTERNAL_ASSERTION'
}

How often does it reproduce? Is there a required condition?

  • getting this error on below code, when running node server.js
    try { if (type == macroTask && task.data && !isPeriodic && !isRefreshable) { task.cancelFn = undefined; } try { return this._zoneDelegate.invokeTask(this, zoneTask, applyThis, applyArgs); } catch (error) { if (this._zoneDelegate.handleError(this, error)) { throw error; } } }

  • server.js is bundle built using vite

What is the expected behavior? Why is that the expected behavior?

error should not be thrown

What do you see instead?

shared above

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant