Describe the bug
When launching the app in the VM, at startup I get errors concerning the blog pages. They are reference errors concerning "document", which is not defined.
Files affected:
- /edit-blog/[postId]/page.js
- /blog/[postId]/page.js
This issue doesn't prevent the website from launching without any problems.
To Reproduce
Steps to reproduce the behavior:
- Connect the the VM
- Make a build for the website
- Run
bun run start
- See the reference errors
Expected behavior
Those errors shouldn't appear. Either remove the "document" reference if it isn't used, or import it correctly. Since this error only occurs on the VM and not my pc, it might be a little more tricky than that.
Screenshots

Describe the bug
When launching the app in the VM, at startup I get errors concerning the blog pages. They are reference errors concerning "document", which is not defined.
Files affected:
This issue doesn't prevent the website from launching without any problems.
To Reproduce
Steps to reproduce the behavior:
bun run startExpected behavior
Those errors shouldn't appear. Either remove the "document" reference if it isn't used, or import it correctly. Since this error only occurs on the VM and not my pc, it might be a little more tricky than that.
Screenshots