Hi there, I have this error coming up in a variety of ways when running nuxt build. The error varies based on different Contentful content data, but the error looks like this:
ERROR [nuxt] [request error] [unhandled] [500] 'get' on proxy: property 'pageHero' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '#<_ContentfulEntry>' but got '#<_ContentfulEntry>')
at ./.nuxt/prerender/chunks/renderer.mjs:194:86
at Array.map (<anonymous>)
at stringify (./.nuxt/prerender/chunks/renderer.mjs:194:39)
at ./.nuxt/prerender/chunks/renderer.mjs:194:71
at Array.map (<anonymous>)
at stringify (./.nuxt/prerender/chunks/renderer.mjs:194:39)
at ./.nuxt/prerender/chunks/renderer.mjs:194:71
at Array.map (<anonymous>)
at stringify (./.nuxt/prerender/chunks/renderer.mjs:194:39)
at ./.nuxt/prerender/chunks/renderer.mjs:194:71
Expected Behavior
This error should not exist. I have no idea how to trace this error.
Actual Behavior
When I comment out the areas of my codebase that use pageHero, for example, the error still persists. Thus I assume it's related to something higher up the chain, like the actual content I am querying from Contentful. The stack trace doesn't provide any clues and the error expected '#<_ContentfulEntry>' but got '#<_ContentfulEntry>' is cryptic. I'm not sure how to dive deeper into the stack trace to actually see what the return value of #<_ContentfulEntry> is.
Possible Solution
No idea at this stage? Better stack tracing?
Steps to Reproduce
Very hard to reproduce at this stage without pulling apart the entire codebase and sharing sensitive information. I just wondered if anyone else has faced this issue and / or some helpful pointers to try and debug this issue?
Context
I'm trying to build and deploy my app in Nuxt 3 using nuxt build
Environment
Language Version: 18.12.0
Package Manager Version: 8.19.12
Operating System: Darwin ANZXKNW564K76 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
Nuxt should now work properly thanks to my changes for v11. Can you please test the new version of this package if your issues are resolved? @JackEdwardLyons
Hi there, I have this error coming up in a variety of ways when running
nuxt build
. The error varies based on different Contentful content data, but the error looks like this:Expected Behavior
This error should not exist. I have no idea how to trace this error.
Actual Behavior
When I comment out the areas of my codebase that use
pageHero
, for example, the error still persists. Thus I assume it's related to something higher up the chain, like the actual content I am querying from Contentful. The stack trace doesn't provide any clues and the errorexpected '#<_ContentfulEntry>' but got '#<_ContentfulEntry>'
is cryptic. I'm not sure how to dive deeper into the stack trace to actually see what the return value of#<_ContentfulEntry>
is.Possible Solution
No idea at this stage? Better stack tracing?
Steps to Reproduce
Very hard to reproduce at this stage without pulling apart the entire codebase and sharing sensitive information. I just wondered if anyone else has faced this issue and / or some helpful pointers to try and debug this issue?
Context
I'm trying to build and deploy my app in Nuxt 3 using
nuxt build
Environment
18.12.0
8.19.12
Darwin ANZXKNW564K76 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
9.2.11
Preview