This error was reported using npm run build: Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file …/src/coroutine.cc, line 134.
error Command failed with signal “SIGABRT”.
I am compiling a nuxt.js project, which has a dependency on "fibers": "^5.0.0",
The above error occurs because node-fibers has been deprecated in nodejs >=16.x version.
Check the local node version node/16.16.0, it is indeed the problem.
Switch to a version lower than 16, and npm run build works normally.