Skip to content
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

Hangs indefinitely #2468

Closed
JamesKyburz opened this issue Jan 1, 2024 · 2 comments
Closed

Hangs indefinitely #2468

JamesKyburz opened this issue Jan 1, 2024 · 2 comments
Labels
bug Functionality does not match expectation

Comments

@JamesKyburz
Copy link

Hangs indefinitely

The latest version of typedoc 0.25.5 fails to produce documentation for sam-expand

0.25.4 works fine.

Expected Behavior

Documentation produced

Actual Behavior

Without --logLevel Verbose nothing is logged to stdout and the process hangs, with verbose we get a lot of Refusing to recurse when converting type: errors.

Produce documentation

Steps to reproduce the bug

git clone git@github.com:starterstack/sam-expand.git
npm install --ignore-scripts
npm run typedoc # this works
npm i typedoc@latest -D
npm run typedoc # this fails

Environment

  • Typedoc version: 0.25.5
  • TypeScript version: 5.3.3
  • Node.js version: v20.10.0
  • OS: macOS 14.2.1
@JamesKyburz JamesKyburz added the bug Functionality does not match expectation label Jan 1, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jan 1, 2024

That's strange, looks like it gets hung up during conversion, not during rendering in the spot I thought I might have introduced an infinite loop..

Simple fix: --excludeExternals -- there's something weird in ajv that's causing this.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jan 1, 2024

Caused by a636bd5, apparently we also need to check for aliasSymbol on the type before using the origin.

@Gerrit0 Gerrit0 closed this as completed in 914f9bb Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants