angular/universal

SSR scemantic fails with standalone bootstrapping

its-dibo opened this issue · 2 comments

Command

add

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

when you run ng add @nguniversal/express-engine to add SSR to your app, it opens main.ts and searches for the term 'bootstrapModule' which is not existing if you bootstrap you app from a stand alone component

more details

bootstrapping a NgModule-based app

platformBrowserDynamic().bootstrapModule(AppModule)

bootstrapping a standalone-based app

bootstrapApplication(AppComponent);

image

Minimal Reproduction

Exception or Error

No response

Your Environment

15

Anything else relevant?

No response

Duplicate of #2906

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.