-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error logs on SSR #320
Comments
It works on SSR! Please add your usage code Did you try the latest version with |
Hi I'm having the same issue with : It seems to be at this line : in the ngx-share-buttons.umd.js Can you help me ? |
|
I am having the exact same issue on Angular 11.
This forces us to hide the button for the server via Angular: 11.0.5 |
@Judp0m This issue was in a different package, since then the package had changed (now it is |
Thanks for your quick reply @MurhafSousli I am using the latest version of all packages as listed in my reply above, and still observe the error when using SSR.
but NOT with this: Note2: the same problem appears if trying to use the default style. Whether or not the error is triggered, the button do not get properly populated, cf missing content in the html class tags: Not sure what is the cause. I tried using the single Keep in mind, everything works well in non-SSR mode! i.e. no problem when using Any help/tip is appreciated. |
@MurhafSousli Several of us are running into this issue, as documented above. Can you re-open this issue, or I am happy to create a separate one if you prefer. |
I am also having this issue, somewhere else it has been confirmed that it is caused by the failure for Universal to set custom properties to the dom |
I will check again soon |
This should not happen in v10.0.0, please report again if you encounter the same issue |
I am submitting a
What is the expected behavior?
No errors in error log related to Share buttons
What is the current behavior?
Following errors show up in PM2 logs for the web app running on node server
What are the steps to reproduce?
Build project with ngx-share/buttons & ngx/core and deploy to SSR environment
What is the use-case or motivation for changing an existing behavior?
Reduced number of error logs
Which versions are you using for the following packages?
Angular: 5.2.0
Node: 9.0.0
Angular CLI: 1.7.6
Angular-fontawesome: 0.1.0-10
Share buttons: 5.3.1
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: