Closed ilprima closed 4 years ago
Thanks for the issue! This issue has been labeled as needs reproduction
. This label is added to issues that need a code reproduction.
Please provide a reproduction with the minimum amount of code required to reproduce the issue. Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
For a guide on how to create a good reproduction, see our Contributing Guide.
I am having the same error with current versions.
However, upon refresh this error appears:
ERROR Error: Uncaught (in promise): TypeError: head.querySelector is not a function TypeError: head.querySelector is not a function at bootstrapLazy (...\dist\app\server\main.js:128638:44) at ...\dist\app\server\main.js:85141:64 at ZoneDelegate.invoke (...\dist\app\server\main.js:78066:30) at Object.onInvoke (...\dist\app\server\main.js:118579:33) at ZoneDelegate.invoke (...\dist\app\server\main.js:78065:56) at Zone.run (...\dist\app\server\main.js:77828:47) at ...\dist\app\server\main.js:78898:40
Could it possibly be related to this issue https://github.com/ionic-team/stencil-ds-output-targets/issues/56 ?
Thanks for the issue! This issue is being closed due to the lack of a code reproduction. 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.
Thank you for using Ionic!
Please check this Error shown here on StackOverflow: https://stackoverflow.com/questions/63260694/ionic-with-ssr-implementation/63669265#63669265
I can add a recap here:
Adding Ionic SSR to the project is, the SSR server when running shows "cannot access self of undefined", the same for document and window.
Adding this piece of code in the server.ts file, as shown in some threads:
It shows another error: ERROR TypeError: Cannot redefine property: constructor
Ionic version: Ionic 5.4.16
Ionic info:
My dependencies: