-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error reporting fails on undefined error index #5526
Comments
@Princesseuh helped me w/ this in discord, it's unrelated to #5495 |
Not marking as a p5 since it doesn't affect a lot of users, but this one is pretty important because it crash the dev server |
ah, i may have not uploaded the commit that triggers it |
I updated the branch linked, it should trigger now by running the dev server && loading http://localhost:3000/aoc/02/ |
Thanks let me try late |
Yes, I got it. i'm trying to fix it |
What version of
astro
are you using?astro@0.0.0-error-overlay-20221130171441
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
Getting an undefined property access on
errors[i].message
astro/packages/astro/src/core/errors/dev/utils.ts
Line 51 in a1885ea
may be useful to enable "noUnindexedAccess" in the repo for typescript..
Link to Minimal Reproducible Example
https://github.com/jasikpark/aoc-astro/blob/astro-dev-server-bug/src/pages/aoc/02/index.mdx
https://stackblitz.com/~/github.com/jasikpark/aoc-astro/blob/astro-dev-server-bug/src/pages/aoc/02/index.mdx
Participation
The text was updated successfully, but these errors were encountered: