0

After building Angular 19 application with SSR and with "prerender": false parameter running the application node dist/app_name/server/server.mjs there is an error occurs.

angular.json

Error: Angular app engine manifest is not set. Please ensure you are using the '@angular/build:application' builder to build your server application.

But manifest files exist in the server folder

dist folder

I want to use SSR but don't want make the prerender. Because of it makes requests to the API during application building

1 Answer 1

1

After researching and leaving a bugreport for Angular team I have the answer

For using AngularNodeAppEngine is mandatory to have "outputMode" option in build config. If you want to prevent prerendering use CommonEngine instead.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.