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
create new angular project: ng new shell --ssr
add native federation: ng add @angular-architects/native-federation --project shell --type dynamic-host --port 4200
run the project: npm run start
Expected result:
The application launch
Current result:
ng serve fails on open webpage with "The document object is not available"
Thanks for pointing this out.
This seems to be an issue with provideClientHydration -- if you skip this option in your app.config.ts it works. We will further look into this issue.
Reproduction step:
create new angular project: ng new shell --ssr
add native federation: ng add @angular-architects/native-federation --project shell --type dynamic-host --port 4200
run the project: npm run start
Expected result:
The application launch
Current result:
ng serve fails on open webpage with "The document object is not available"
Stackblitz with error:
https://stackblitz.com/~/github.com/hal1984/shell
The text was updated successfully, but these errors were encountered: