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

build:apidoc fails #17550

Open
4 tasks
mtrefzer opened this issue Jan 31, 2025 · 0 comments
Open
4 tasks

build:apidoc fails #17550

mtrefzer opened this issue Jan 31, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@mtrefzer
Copy link
Contributor

Describe the bug

pnpm run build:apidoc fails, because npm run build:apidoc && npm run build:themedoc are trying to execute the scripts/build-apidoc.ts and scripts/build-themedoc.ts directly via node.

The typescript files could be executed with ts-node or tsx. From node@23 upwards there is an experimental flag to execute ts directly but for the moment I would stick with tsx.

I would recomend tsxover ts-node for simplicity and perrformance reasons.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

Environment

Ubuntu 24
node 22

Angular version

19

PrimeNG version

v19

Node version

22

Browser(s)

No response

Steps to reproduce the behavior

Runningpnpm run build:apidoc fails.

Expected behavior

pnpm run build:apidoc should not fail.

@mtrefzer mtrefzer added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant