-
Notifications
You must be signed in to change notification settings - Fork 479
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
SSR Issue: window is not defined in release 2.0.1 #2187
Comments
If anyone wants to reproduce the issue, they can quickly test it by creating a new AdonisJS application using the following command: npm init adonisjs@latest inertia-bug -- -K=inertia --adapter=vue --ssr Followed by:
EDIT: We patched the AdonisJS starter kit to force |
same issuss
|
Same issue |
Same issue |
thank you |
Hey there! 👋🏻
It seems like this PR might have broken the SSR of a component with the latest release
2.0.1
. I'm encountering the following error during SSR rendering:The error traces back to this line in the source:
node_modules/@inertiajs/core/src/eventHandler.ts:21:16
I attempted to debug the issue locally and tried a monkey patch, but the published code is minified, making it difficult to modify or apply any meaningful changes directly.
Would it be possible to investigate this further or publish a non-minified version for easier debugging?
Thank you for your help!
The text was updated successfully, but these errors were encountered: