-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
" Unknown chunk type " when trying to display data from api in .astro component #7923
Comments
Pinging @bluwy for this regression |
It doesn't seem to be a regression. The error happens in older versions, but the newer versions has a different error message. |
The issue is that the data has the property But what would ultimately get rendered is an |
Yeah seems like using |
* fix(#7923): do not throw on user { type } object * chore: remove unused type export * chore: guess it wasn't unused
* fix(#7923): do not throw on user { type } object * chore: remove unused type export * chore: guess it wasn't unused
What version of
astro
are you using?2,9,7
Are you using an SSR adapter? If so, which one?
vercel
What package manager are you using?
npm
What operating system are you using?
windows
What browser are you using?
firefox
Describe the Bug
Unknown chunk type:
name_of_some_attributeWhen i fetch some data from API and try to display it, it shows error of unknown chunk.
This error has different error message on lower version of the astro like:
stringified is undefined
. But if you update to the latest version it should say the same as i mentioned in the beginningWhat's the expected result?
It should display the data correctly
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-s5cpjh?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: