Error TS2315: Type "Server" is not generic

PLEASE help me
My netlify site is playful-macaron-46b668
Im currently failed when deploy angular framework app
Using with this version node v18.19.0, npm v10.2.3, and angular v14.2.13

In local im not facing this issue, but in netlify im facing with this issue

Any sugession?

Thank you in advance for your help

Hi, @agungjanuardi. The deploy logs for this site indicate you resolved the issue on your own. Would you be willing to share the solution here?