I use angular 8 and server-side-rendering but i got error when i run npm run build:ssr As you can see, src is repeated twice home/app/front/**src
npm run build:ssr
src
home/app/front/**src
I had the same error. This is how i solved it:
In src/tsconfig.server.json
src/tsconfig.server.json
Change src/main.server.ts to main.server.ts
src/main.server.ts
main.server.ts