question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not an object (evaluating 'ExponentKeepAwake.activate')

See original GitHub issue

Issue:

Hello!
I have issue to run application on Expo. I created a completely new project in Expo XDE, and without making any changes. Expo XDE returns red screen when I try to load it in the device with the following log:
undefined is not an object (evaluating 'ExponentKeepAwake.activate')
This issue only occurs when using real device connected via Wifi, while emulator (Bluestack) works as expected. a

Environment:

  • Device: Android 6.0 and Expo 2.3.2
  • OS: Windows 10 (version 1709)
  • Network: No proxy or firewall

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JoeRoddycommented, Jul 16, 2018

Uninstalling Expo from the emulator -> stop and restart the emulator -> restart my app fixed it for me. YMMV.

1reaction
alfizocommented, Jul 16, 2018

@Beissner try switching from android emulator to genymotion it helped me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined is not an object(evaluating 'course.id') in react native
As I am trying to add to favorite any course then error popup saying "undefined is not an object(evaluating 'course.id')".
Read more >
ExponentKeepAwake.activate - Expo SDK - Forums
undefined is not an object (evaluating 'ExponentKeepAwake.activate') activate. C:\Users\xxxxxx.
Read more >
TypeError: undefined is not an object (evaluating 'b.prototype')
Getting this console error on frontend user profiles. TypeError: undefined is not an object (evaluating 'b.prototype'). the full error:.
Read more >
January TypeError: 'undefined' is not an object (evaluating ...
it says January TypeError: 'undefined' is not an object (evaluating 'console.log("January").substring') and i don't know how to fix that or what is wrong ......
Read more >
undefined is not an object (evaluating 'field.observe') - Jotform
receiving error message TypeError: undefined is not an object (evaluating 'field.observe'). Profile Image. foxmusiclessons.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found