Skip to content

SSR Fails #26639

@fireflysemantics

Description

@fireflysemantics

Which @angular/* package(s) are the source of the bug?

compiler, core

Is this a regression?

Yes

Description

The SSR fails. I did a writeup of the process I used to generate the static pages here.

https://fireflysemantics.medium.com/creating-an-angular-application-with-route-prerendering-39d6cd4df22a

However there is no data in the pages.

I asked about it on Stackoverflow here:

https://stackoverflow.com/questions/77641999/prerendering-with-angular-17-and-viewing-prerendered-results

Thoughts?

Please provide a link to a minimal reproduction of the bug

https://github.com/fireflysemantics/ssr/tree/main/src

Please provide the exception or error you saw

https://stackoverflow.com/questions/77641999/prerendering-with-angular-17-and-viewing-prerendered-results

The route data is not reflected in any of the static pages.

Please provide the environment you discovered this bug in (run ng version)

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 17.0.6
Node: 20.8.0
Package Manager: npm 10.2.4
OS: darwin arm64

Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1700.6 (cli-only)
@angular-devkit/core         17.0.6 (cli-only)
@angular-devkit/schematics   17.0.6 (cli-only)
@schematics/angular          17.0.6 (cli-only)

Anything else?

Angular 17 ROCKS!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions