I'm new to angular 6 i almost fully completed my app but i' facing some issues with ssr.I followed this tutorial to do ssr tutorial but i'm facing issues
in building while i run this npm run build:ssr && npm run serve:ssr comand i got two folders in in my dist folder one is browser and another is server. while running the command browser build is generated sucessfully but my server build encountered an error like this.

can any one figueout why this error occured.Any help is appreciable.