-
Notifications
You must be signed in to change notification settings - Fork 712
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
Failed to retrieve member "captureStackTrace" of [CustomErrorClass] for inheritance analysis #1541
Comments
But... we do? Lines 6 to 13 in 9a627d8
There was a bug in early 0.20 that broke this, but it's been fixed for a while now...
You see this in some projects but not all because this property is added to |
I encountered a situation where merging a dependabot PR broke my docs build despite having a docs build test action (which I wrote after a different dependabot PR broke my docs builds). I reviewed the action run to find that the docs build had errored out but the action did not mark that step as failed (I would assume because of no exit code), so the run completed successfully. That led to me adding a grep for
I do have @types/node installed for sure, no question about that. Thank you for looking into this. I hope it doesn't give you too much trouble. |
Turns out fixing this just requires adding a flag... which is kind of annoying, but very minimal code changes. |
Awesome. Good work :o) |
Search terms
failed to retrieve member, inheritance analysis
Expected Behavior
I expect to not encounter this message as I did not encounter it previously on 0.20.30 with the same code.
Actual Behavior
I receive the following warning output when building my docs:
I was not having this message pop up on 0.20.30 but it triggered a failure in my docs build test action on the Dependabot PR to update to 0.20.32, even though it's just a warning. The action looks for the word "error" in the output because TypeDoc doesn't exit with an error code or anything, so it was a false positive, but I'm reporting the bug since the message told me to do so, haha. Weirdly, this does not happen in another of my modules for this org that also has custom error classes that inherit from
Error
, so I'm a little perplexed.Steps to reproduce the bug
git clone https://github.com/discord-samba/command.git
npm install
scripts/typedoc-runner.js
and replace thetheme
value with'default'
to confirm the issue is present on the default theme without any of my modificationsnode scripts/typedoc-runner.js
docs
directory alongside the cloned repo directory as opposed to inside of itDue to the fact that I can't reproduce the issue on the other module I have that has custom error classes, I didn't really want to jump through the hoops to produce a minimal reproducible sample repo, so I apologize for the extra needed effort to see the issue for yourself.
Environment
The text was updated successfully, but these errors were encountered: