Am following this guide to enable universal rendering for my angular cli app using angular platform server. I have also updated my angular-cli and angular versions to the latest available.
All works well and I can see the pre rendering happen, except when I add an external module like ngx-facebook
When any external module is added, ts-node complaints about
SyntaxError: Unexpected token import
This happens with every external module I use like ngx-cookie or ng2-sticky which makes me think I am missing some setting in my tsconfig.
Many thanks for your help.