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
{{ message }}
Repository navigation
Meta tracking issue: "Reporting error: Failed to parse package:xyz/main.dart" #7192
One question we should consider once we have a repro is whether we want to be notifying the user with this parsing error happens (notifyUser: true is set currently). If this error is expected (potentially on a hot restart or app disconnect?) then we might want to fail gracefully and not give the users an error notification that they can report.
Unfortunately it's not the most helpful (just confirms what we suspected about where the error is coming from). However, I think we can make some changes here to have a more helpful error to tell us what's going wrong.
Activity
kenzieschmoll commentedon Feb 8, 2024
One question we should consider once we have a repro is whether we want to be notifying the user with this parsing error happens (
notifyUser: trueis set currently). If this error is expected (potentially on a hot restart or app disconnect?) then we might want to fail gracefully and not give the users an error notification that they can report.kenzieschmoll commentedon Mar 4, 2024
Some repro details shared on #7305.
elliette commentedon Feb 13, 2025
Update: With #8385 we're finally starting to get some useful stack traces for these errors:
Unfortunately it's not the most helpful (just confirms what we suspected about where the error is coming from). However, I think we can make some changes here to have a more helpful error to tell us what's going wrong.
kenzieschmoll commentedon Mar 10, 2025
I just closed 9 more duplicates of this issue. We should be sure to fix this before the next beta cut.
elliette commentedon Oct 7, 2025
NOTE: Fixed by #9104