1
votes

I am trying to make my angular app on angular universal. i followed steps on

https://angular.io/guide/universal but on "npm run build:ssr" .

enter image description here

1
Please post your server.ts filePardeep Jain

1 Answers

1
votes

I found solution , it's not angular 6 issue. all i needed is 1. "npm install @types/node --save-dev"; 2. add "compilerOptions": { ...... "types": ["node"] }, on tsconfig.server.json and on tsconfig.app.json