You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
pnpm run build:apidoc
fails, becausenpm run build:apidoc && npm run build:themedoc
are trying to execute thescripts/build-apidoc.ts
andscripts/build-themedoc.ts
directly vianode
.The typescript files could be executed with
ts-node
ortsx
. Fromnode@23
upwards there is an experimental flag to executets
directly but for the moment I would stick withtsx
.I would recomend
tsx
overts-node
for simplicity and perrformance reasons.Pull Request Link
No response
Reason for not contributing a PR
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
Running
pnpm run build:apidoc
fails.Expected behavior
pnpm run build:apidoc
should not fail.The text was updated successfully, but these errors were encountered: