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

Circular build docgeni & throw error "LibrariesBuilder is emitting" #359

Closed
why520crazy opened this issue Apr 29, 2022 · 1 comment
Closed
Assignees

Comments

@why520crazy
Copy link
Member

Describe the bug

circular build docgeni & throw error "LibrariesBuilder is emitting" when apiMode set 'compatible', first run npm i and docgeni serve.

Start building...Error: LibrariesBuilder is emitting
    at LibrariesBuilder.onEmit (/Users/haifeng/IT/10_YC/Worktile/ngx-tethys/node_modules/@docgeni/core/lib/builders/libraries-builder.js:69:19)
    at LibrariesBuilder.emit (/Users/haifeng/IT/10_YC/Worktile/ngx-tethys/node_modules/@docgeni/core/lib/builders/emitter.js:10:20)
    at DocgeniCompilationImpl.run (/Users/haifeng/IT/10_YC/Worktile/ngx-tethys/node_modules/@docgeni/core/lib/compilation.js:40:85)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

To Reproduce
Steps to reproduce the behavior:

  1. delete node_modules
  2. exec npm i
  3. exec docgeni serve

Screenshots
image

Desktop (please complete the following information):

  • Browser: chrome
  • Version 1.2.0-next.13
@why520crazy
Copy link
Member Author

Angular CLI ng serve first build third party library to Ivy, it trigger @docgeni/ngdoc watchers, and rebuild docgeni many times, it is not circular build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant