Closed CRIMSON-CORP closed 1 year ago
App crashes when monoInstance.setup() is called For bug reports, include detailed steps to reproduce or a minimal reproduction of the issue
This is due to document not defined in Nodejs Server in Nextjs, please make this compatible with Nexjs
visual issues
Is this specific to one device, or does it happen on multiple devices?
By checking if youre on the server on the client, one can stop the app from crashing
this is a known issue on isomorphic codebase, please refer to our nextjs implementation here https://github.com/withmono/connect.js/blob/develop/docs/examples/nextjs.md @CRIMSON-CORP
Summary
App crashes when monoInstance.setup() is called For bug reports, include detailed steps to reproduce or a minimal reproduction of the issue
Other information
This is due to document not defined in Nodejs Server in Nextjs, please make this compatible with Nexjs
visual issues
Is this specific to one device, or does it happen on multiple devices?

My current solution
By checking if youre on the server on the client, one can stop the app from crashing