(thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine.cc, line 134

This error is due to the deprecation of node-fibers for node >=16.x released on April 20, 2021.

On the fibers project README:

Update [April 13th, 2021] — Fibers is not compatible with nodejs v16.0.0 or later. Unfortunately, v8 commit dacc2fee0f is a breaking change and workarounds are non-trivial.

Downgrading node to a lower version (15.14.0) with nvm did the trick on my end

Edit: More detailed answer

Leave a Comment