Skip to content
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

Runtime Error After Login #35

Open
cmullenx opened this issue Aug 10, 2017 · 5 comments
Open

Runtime Error After Login #35

cmullenx opened this issue Aug 10, 2017 · 5 comments

Comments

@cmullenx
Copy link

I cloned down the repo and am able to successfully login via Auth0. However, after I login I receive a runtime error.

Runtime Error
Ionic Framework: 3.1.1
Ionic App Scripts: 1.3.12
Angular Core: 4.0.2
Angular Compiler CLI: 4.0.2
Node: 6.9.3
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

@yunderboy
Copy link

I've got the same error :-(

@yunderboy
Copy link

Hey @cmullenx don't know whether you're still struggeling with the bug.
But for me, the problem was due to the way that the ionic livereloading server works. When I built the app, and ran it as an .apk on my android phone, it worked perfectly.

Hope it helps!

@kmaida
Copy link

kmaida commented Jan 11, 2018

There are many different reasons this might happen, so one simplistic (and non-platform-specific) way to to track down the cause is to alert the error in the authorize() callback. You can stringify it in order to show the object's contents in an alert on your device:

if (err) {
  alert(JSON.stringify(err));
  throw err;
}

BTW, we are in the process of updating this quick start material, and a new version (with Ionic 3) should be available shortly.

@BenjaminWatts
Copy link

hey - I am getting exactly the same issue on iOs - looking forward to seeing a new version - @kmaida - are there any plans to make it compatible with browser running as well - kind of defeats point of Ionic is you're confined to native app builds!

@kmaida
Copy link

kmaida commented Jan 12, 2018

Hey @BenjaminWatts! Responded to your browser question in your other issue here: #40 Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants