Open
Description
With what library do you have an issue?
native-federation
Reproduction of the bug/regression with instructions
Issue while running the application with node server.mjs from dist or as docker container, I encountered the following error;
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/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:38:2102)
at <instance_members_initializer> (file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:66:948)
at new e (file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr.OxpG8ofFZH.js:66:876)
at <instance_members_initializer> (file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr_node.zBEd2kLqgj.js:1:4127)
at new w (file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/browser/_angular_ssr_node.zBEd2kLqgj.js:1:4104)
at file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/server/chunk-7B7VLUAK.mjs:64:2112
at file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/workspace/ssr-native-fed-poc/dist/shell/server/chunk-2XAXBCZJ.mjs:2:795
at file:///Users/sgopalakri38/Desktop/Sajay/Projects/aa/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...
Environment:
Angular Version: 19.0.0
Execution Context: dist/shell/server/*.mjs generated from ng build shell
Steps to Reproduce:
- git clone -b deploy-issue https://github.com/sajay-g/ssr-native-fed-poc.git/
- npm install
- ng build shell
- cd dist/shell/server
- node server.mjs
Expected behavior
- Get the application to run successfully,
Versions of Native/Module Federation, Angular, Node, Browser, and operating system
Environment:
Angular Version: 19.0.0
Native Federation: 19.0.22
Other information
I'm using AngularNodeAppEngine not CommonEngine, facing different issues with different engine.
I would be willing to submit a PR to fix this issue
- Yes
- No
Metadata
Metadata
Assignees
Labels
No labels