npm run dev:ssr code example Example 1: npm dev server $ npm install dev-server -g Example 2: angular add universal ng add @nguniversal/express-engine