You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro server crashes because of an error by devalue:
Error: Cannot stringify arbitrary non-POJOs
at walk (/node_modules/.pnpm/[email protected]/node_modules/devalue/dist/devalue.esm.js?v=5074f74f:51:35)
at Array.forEach (<anonymous>)
at walk (/node_modules/.pnpm/[email protected]/node_modules/devalue/dist/devalue.esm.js?v=5074f74f:40:27)
at /node_modules/.pnpm/[email protected]/node_modules/devalue/dist/devalue.esm.js?v=5074f74f:56:72
at Array.forEach (<anonymous>)
at walk (/node_modules/.pnpm/[email protected]/node_modules/devalue/dist/devalue.esm.js?v=5074f74f:56:40)
at Module.devalue [as default] (/node_modules/.pnpm/[email protected]/node_modules/devalue/dist/devalue.esm.js?v=5074f74f:60:5)
at Module.serializeProps (/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/runtime/server/hydration.js:4:17)
at Module.renderComponent (/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/runtime/server/index.js:225:2)
Although I have tried to isolate this to reproduce in Astro, my efforts have failed so far, but I have been able to produce the same error with devalue. This happens when you pass a class as a prop.
What version of
astro
are you using?1.0.0-beta.24
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Linux, Ubuntu 21.10
Describe the Bug
Astro server crashes because of an error by
devalue
:Although I have tried to isolate this to reproduce in Astro, my efforts have failed so far, but I have been able to produce the same error with
devalue
. This happens when you pass a class as a prop.Link to Minimal Reproducible Example
https://runkit.com/embed/e00mijnhx0gg
Participation
The text was updated successfully, but these errors were encountered: