samvloeberghs / ng-v9-universal

0 stars 2 forks source link

Angular v9 & Universal: SSR #5

Open fengzhihenxs opened 1 year ago

fengzhihenxs commented 1 year ago

Hello, SAM VLOEBERGHS

I read one of your articles about Angular v9 & Universal: SSR and pre-rendering out of the box! I think it's very well written.I run ssr normally after downloading the source code. But when I implemented ssr by myself according to your code, some unexpected error messages appeared. I don't understand, and I haven't been able to solve it for the time being. Want to get your help, thank you.

I get a lot of similar errors when running npm run build:ssr image

Below is my code. testSSR.zip

Looking forward for your response, thank you

fengzhihenxs commented 1 year ago

@samvloeberghs I use the command ng add @nguniversal/express-engine to automatically add the necessary files and update the configuration file. I compared your code, only found that the version is inconsistent, no other findings.