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
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
Adding ionic to an Angular standalone app results in the following warning:
▲ [WARNING] The glob pattern import("./**/*.entry.js*") did not match any files [empty-glob]
node_modules/@stencil/core/internal/client/index.js:4019:4:
4019 │ `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVe...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As a result components cannot be properly hydrated:
error-handler.service.ts:11 Error: NG0500: During hydration Angular expected <ion-toolbar> but found a comment node.
Angular expected this DOM:
<ion-header _ngcontent-ng-c3536642561="">
<ion-toolbar>…</ion-toolbar> <-- AT THIS LOCATION
…
</ion-header>
Actual DOM is:
<ion-header _ngcontent-ng-c3536642561="">
<!-- --> <-- AT THIS LOCATION
…
</ion-header>
Expected Behavior
I am expecting Ionic to support SSR in Angular
Steps to Reproduce
create a an angular app with ssr using cli
add ionic and any ion component from package standalone
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Adding ionic to an Angular standalone app results in the following warning:
As a result components cannot be properly hydrated:
Expected Behavior
I am expecting Ionic to support SSR in Angular
Steps to Reproduce
Code Reproduction URL
https://github.com/
Ionic Info
Angular: 17.2.4
Ionic CLI : 7.2.0
NodeJS : v20.11.0
npm : 10.4.0
Additional Information
No response
The text was updated successfully, but these errors were encountered: