The json-schema-ref-parser dependency is now at version 7.1. The 7.x series is needed for use with node 12. However, it has been rewritten with that release to depend on async/await. Because of this, the deasync loopWhile call loops indefinitely since these promises are not being given an opportunity to run. This means that the callback passed to $RefParser.dereference is never called, and thus done = true is never assigned.
For reference, I opened an issue for apidoc-core as well since fixing this might depend on a change to that if you want to keep using json-schema-ref-parser under the hood as well.
The json-schema-ref-parser dependency is now at version 7.1. The 7.x series is needed for use with node 12. However, it has been rewritten with that release to depend on async/await. Because of this, the deasync
loopWhilecall loops indefinitely since these promises are not being given an opportunity to run. This means that the callback passed to$RefParser.dereferenceis never called, and thusdone = trueis never assigned.For reference, I opened an issue for apidoc-core as well since fixing this might depend on a change to that if you want to keep using json-schema-ref-parser under the hood as well.