-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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] #32961
Comments
Can you provide the code snippets used? |
I'm getting the same error when trying to run binary file created with nexe. (Just tried Proton-Native). I'm using Pop_OS! 19.10 and Node v12.16.1 |
getting the same issue in nixos version 19 running a test with mocha: All tests passed.
/project/test/node_modules/mocha/lib/runner.js:873
throw err;
^
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 assert (internal/assert.js:14:11)
at process.target._send (internal/child_process.js:689:5)
at process.<anonymous> (internal/child_process.js:646:12)
at process.emit (events.js:323:22)
at process.EventEmitter.emit (domain.js:482:12)
at emit (internal/child_process.js:876:12)
at processTicksAndRejections (internal/process/task_queues.js:85:21) {
code: 'ERR_INTERNAL_ASSERTION'
}
npm ERR! Test failed. See above for more details. I am also getting this error in node 10 and node 12 via github actions which is running inside of a container that is not nixos. Strangely the same test works just fine in mac osx with no issues or errors so it does appear to be an interaction with linux or the mac version does not report the error. the test does use express as a server. not sure if this was fixed by this commit: f756c809e0 it looks like this is an issue on our side, I will update this comment when I know this for sure. EDIT: For an future people that get this issue. The problem was a fire and forget style promise that was intentionally not being awaited. Does not seem to be related to node though, issue is with the mocha and the library being tested. |
@verberden the error message alone won't be enough to know if it's an error in Node.js or on your side. The latter is very likely though. It is mostly an error thrown in case some internals are used in unsupported ways. Please check that again and open a new issue if it turns out to be an actual issue with Node.js, thanks! |
I came across this error while processing unpaywall research paper data dump and downloading pdf of research papers. I have pruned the database to select the top 100,000 documents and I'm downloading pdfs for those using the following code.
This has happened several times and every time the script fails after downloading 10k-13k docs. |
Hello. So, i was testing my app via Postman and then got error that server doesn't work then go to console and got this error message:
I can't reproduse it again. Just open an issue as it says in the error message.
The text was updated successfully, but these errors were encountered: