Closed ZachHandley closed 1 year ago
Thanks for the issue! This issue has been labeled as needs reproduction
. This label is added to issues that need a code reproduction.
Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
https://github.com/ZachHandley/ionic-router-bug here's an example Ionic Vue setup -- Currently it needs an AppWrite instance which is available from appwrite.com and config setup in /src/core/constants.ts
with just the basics of an appwrite instance for a project setup for members to login/register. it's very easy to remove that functionality, all of it is in /src/store/auth.ts
After talking to the Appwrite Developers, I found out Appwrite's SDK's are not reactive and this is the improper way of doing this. I'm not sure the issue is resolved so I'll close this after testing
Does this issue reproduce even after making the Appwrite changes?
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Currently I am navigating from a route of
/
to/account
after the user is authenticated. Rather than navigating there, it does nothing and gives me the error above, and does not change the view. If I refresh the page it loads the new page route but doesn't load any content, despite the content existingExpected Behavior
It loads the new page as defined in my routes
index.ts
file and content loadsSteps to Reproduce
ion-router-outlet
, with an AppBar and a Navigation Drawer above ition-page
inside each HomePage and AccountPage views (.vue
files)AccountPage
usingrouter.push
and get the above errorCode Reproduction URL
No response
Ionic Info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package.json'
[WARN] Error loading @capacitor/android package.json: Error: Cannot find module '@capacitor/android/package.json'
Ionic:
Ionic CLI : 7.0.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/vue 7.0.3
Capacitor:
Capacitor CLI : 4.7.3 @capacitor/android : not installed @capacitor/core : 4.7.3 @capacitor/ios : not installed
Utility:
cordova-res : not installed globally native-run : 1.7.2
System:
NodeJS : v20.0.0 (/usr/local/Cellar/node/20.0.0/bin/node) npm : 9.6.4 OS : macOS Unknown
Additional Information
I'm having this error
Uncaught (in promise) TypeError: enteringEl is undefined
show up in console when I userouter.push
in Ionic to go from the home view to the profile view (for editing profile and what not)I have already modified the templates and added
ion-page
as a wrapper to make sure it's not that, I can't quite understand what's going on. Home page loads just fine, but the other weird thing is when I go to the account page it straight up has no content on the page. I'm not sure what to do with that either as it's very hard to debug this and Google is showing me very few results.Home Page (redirected from)
My AccountPage (that it gets redirected to)
What I don't understand is how my app is supposed to be laid out. Meaning do I need another
ion-router-outlet
? this is my App.vue