Title: TypeError when hydration is enabled (hostElement.hasAttribute is not a function) · Issue #50133 · angular/angular · GitHub
Open Graph Title: TypeError when hydration is enabled (hostElement.hasAttribute is not a function) · Issue #50133 · angular/angular
X Title: TypeError when hydration is enabled (hostElement.hasAttribute is not a function) · Issue #50133 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description When adding provideClientHydration() to my app.module.ts, the render()-Method breaks with the error Please provide a link to ...
Open Graph Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description When adding provideClientHydration() to my app.module.ts, the render()-Method breaks ...
X Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description When adding provideClientHydration() to my app.module.ts, the render()-Method bre...
Opengraph URL: https://github.com/angular/angular/issues/50133
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError when hydration is enabled (hostElement.hasAttribute is not a function)","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nDon't known / other\n\n### Is this a regression?\n\nNo\n\n### Description\n\nWhen adding provideClientHydration() to my app.module.ts, the render()-Method breaks with the error\r\n\r\n\n\n### Please provide a link to a minimal reproduction of the bug\n\n_No response_\n\n### Please provide the exception or error you saw\n\n```true\nTypeError: hostElement.hasAttribute is not a function\r\n at annotateForHydration (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:2881506)\r\n at /Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:3491908\r\n at Generator.next (\u003canonymous>)\r\n at asyncGeneratorStep (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:3748394)\r\n at _next (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:3748698)\r\n at ZoneTask2.callback (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:1902313)\r\n at _ZoneDelegate2.invokeTask (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:1895862)\r\n at Zone3.runTask (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:1888322)\r\n at ZoneTask2.invokeTask (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:1897459)\r\n at ZoneTask2.invoke (/Users/jko13/GIT/storefront/dist/storefront/server/main.js:1:1897256)\n```\n\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\n_ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n \r\n\r\nAngular CLI: 16.0.0\r\nNode: 18.10.0\r\nPackage Manager: npm 8.19.2\r\nOS: darwin arm64\r\n\r\nAngular: 16.0.0\r\n... animations, cdk, cli, common, compiler, compiler-cli, core\r\n... forms, language-service, material, platform-browser\r\n... platform-browser-dynamic, platform-server, router\r\n... service-worker\r\n\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1600.0\r\n@angular-devkit/build-angular 16.0.0\r\n@angular-devkit/core 16.0.0\r\n@angular-devkit/schematics 16.0.0\r\n@angular/google-maps 15.2.9\r\n@nguniversal/builders 16.0.0\r\n@nguniversal/express-engine 16.0.0\r\n@schematics/angular 16.0.0\r\nng-packagr 16.0.0\r\nrxjs 7.5.7\r\ntypescript 5.0.4\r\nwebpack 5.82.0\n```\n\n\n### Anything else?\n\nI am close to tears since if was looking so much forward for this :( ","author":{"url":"https://github.com/phihochzwei","@type":"Person","name":"phihochzwei"},"datePublished":"2023-05-03T20:27:12Z","url":"https://github.com/angular/angular/issues/50133"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a797a456-352d-fdf9-e962-d4070248e860 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC9A:DA744:137A1BA:1A2EC81:6B0130C8 |
| html-safe-nonce | 08343be954b2a152a984cd1e633854f3edd7e3af80a4ce8bea3fd625a7ca8659 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzlBOkRBNzQ0OjEzN0ExQkE6MUEyRUM4MTo2QjAxMzBDOCIsInZpc2l0b3JfaWQiOiIzNDA0MjE2NjUyODQwMTIwNTIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f65ca5ba1f534f884ee89a73558e78e7d609be3c46b90b47a3d7ff8118a6e228 |
| hovercard-subject-tag | issue:1694756909 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/50133/issue_layout |
| twitter:image | https://opengraph.githubassets.com/32c4838a43eb759a43100701dd49149b981451783912e0821aa1bc72e7105608/angular/angular/issues/50133 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/32c4838a43eb759a43100701dd49149b981451783912e0821aa1bc72e7105608/angular/angular/issues/50133 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description When adding provideClientHydration() to my app.module.ts, the render()-Method breaks ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | phihochzwei |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width