#graph.json from devtools is always empty

2 messages · Page 1 of 1 (latest)

short laurel
#

I'm following the instructions to setup devtools, but my generated graph.json is always empty. I have the following in my nestoptions:

      snapshot: true,
      abortOnError: false,

and am running

void bootstrap().catch((err) => {
  writeFileSync('graph.json', PartialGraphHost.toString() ?? '');
  throw err;
});

The catch block is running (adding a log there works) but graph.json is empty.

crystal marsh
#

I guess this would be hard to tell without some real code