npm run build:ssr does not work in angular 8
I had the same error. This is how i solved it:
In src/tsconfig.server.json
Change src/main.server.ts
to main.server.ts
I had the same error. This is how i solved it:
In src/tsconfig.server.json
Change src/main.server.ts
to main.server.ts