Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Exception when navigating by URL to a route that doesn't exist #148

Closed
bizz84 opened this issue Mar 14, 2024 · 0 comments
Closed

Exception when navigating by URL to a route that doesn't exist #148

bizz84 opened this issue Mar 14, 2024 · 0 comments

Comments

@bizz84
Copy link
Owner

bizz84 commented Mar 14, 2024

On Flutter web, navigating to a route that doesn't exist such as this:

produces this error:

══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════
The following message was thrown:
Could not navigate to initial route.
The requested route name was: "/jobs2"
There was no corresponding route in the app, and therefore the initial route specified will be
ignored and "/" will be used instead.
════════════════════════════════════════════════════════════════════════════════════════════════════
══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞══════════════════════
The following message was thrown:
Could not navigate to initial route.
The requested route name was: "/jobs2"
There was no corresponding route in the app, and therefore the
initial route specified will be ignored and "/" will be used
instead.
═════════════════════════════════════════════════════════════════

Testing this on the deployed app (https://starter-architecture-flutter.web.app/jobs2), produces the following error:

Screenshot 2024-03-14 at 08 43 49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant