Hello Guys! I am getting this kinda errors when I run the inertia ssr node server. document is not defined.
I found that the reason of those errors is because node server can use document or windows global objects.
Now my question is there any solutions to prevent use those third library/package when I run the SSR node server? because I have some package installed and I don't think is a good solution to uninstall all.
I hope you can help me with this issue.