Skip to content

" Unknown chunk type " when trying to display data from api in .astro component #7923

Closed
@lowzyyy

Description

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_attribute

When 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 beginning

What'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

  • I am willing to submit a pull request for this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

- P3: minor bugAn edge case that only affects very specific usage (priority)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions