You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng new app ng add @nguniversal/express-engine npm run build:ssr npm run prerender
gives the following error:
Schema validation failed with the following errors:
Data path "" must have required property 'serverTarget'
manually adding "serverTarget": "appname:server:production" to angular.json seems to work, but this probably should be done by the @nguniversal/express-engine schematics
I get that there may be a configuration step I'm missing, but the documentation is very unclear about this, and I couldn't find additional info about the prerender npm task.
Thank you
The text was updated successfully, but these errors were encountered:
using
@angular/cli@12.0.1
ng new app
ng add @nguniversal/express-engine
npm run build:ssr
npm run prerender
gives the following error:
manually adding
"serverTarget": "appname:server:production"
toangular.json
seems to work, but this probably should be done by the@nguniversal/express-engine
schematicsI get that there may be a configuration step I'm missing, but the documentation is very unclear about this, and I couldn't find additional info about the prerender npm task.
Thank you
The text was updated successfully, but these errors were encountered: