Skip to content

SSR: Angular app engine manifest is not set #30488

Closed as not planned
Closed as not planned
@sajay-g

Description

@sajay-g

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

Don't known / other

Is this a regression?

No

Description

I'm encountering an issue when running the application using node server.mjs from the dist folder or inside a Docker container. I can see the manifest file in the build output, but it's unclear whether the "manifest" mentioned in the error message is referring to the same file. Any insights on this would be helpful.

Image

Steps to Reproduce:

Please provide a link to a minimal reproduction of the bug

git clone -b deploy-issue https://github.com/sajay-g/ssr-native-fed-poc.git/

Please provide the exception or error you saw

Error: Angular app engine manifest is not set. Please ensure you are using the '@angular/build:application' builder to build your server application.
    at gs (file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:38:2102)
    at  (file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:66:948)
    at new e (file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:66:876)
    at  (file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr_node.zBEd2kLqgj.js:1:4127)
    at new w (file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr_node.zBEd2kLqgj.js:1:4104)
    at file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/server/chunk-7B7VLUAK.mjs:64:2112
    at file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/server/chunk-2XAXBCZJ.mjs:2:795
    at file:///Users/Desktop/Projects/workspace/ssr-native-fed-poc/dist/shell/server/chunk-7B7VLUAK.mjs:64:2543
    at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
Waiting for the debugger to disconnect...

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

Angular CLI: 19.2.14
Node: 20.18.2
Package Manager: npm 11.0.0
OS: darwin x64

Angular: 19.2.14
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.14
@angular-devkit/build-angular   19.2.14
@angular-devkit/core            19.2.14
@angular-devkit/schematics      19.2.14
@schematics/angular             19.2.14
rxjs                            7.8.2
typescript                      5.6.3
zone.js                         0.15.1
    
Waiting for the debugger to disconnect...

Anything else?

This works with CommonEngine, but since renderMode isn't supported by CommonEngine, I've hit a roadblock.

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