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.

Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'this._subscribableSubscriptions.forEach')

See original GitHub issue

When changing scheme to Release in able to run the app on the device, it triggered an error

Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'this._subscribableSubscriptions.forEach')

This crashed the application.

I searched for the error code and found it: project/node_modules/react-native/Libraries/Components/Subscribable.js on line 33 with RN 0.51.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:43
  • Comments:75 (13 by maintainers)

github_iconTop GitHub Comments

93reactions
a3diticommented, Dec 25, 2017

I fixed it by evaluating variable this._subscribableSubscriptions on line 33 on react native file project/node_modules/react-native/Libraries/Components/Subscribable.js

Changing this:

this._subscribableSubscriptions.forEach(

To this:

this._subscribableSubscriptions && this._subscribableSubscriptions.forEach(
47reactions
ohflyingcommented, Dec 27, 2017

The issue is caused by the uglify-es@3.3.2,back to 3.2.2 npm install -save uglify-es@3.2.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: undefined is not an object (evaluating 'e.default') in ...
App is running properly without any error in debug mode.but its crashing in release mode after splash screen. and also when i'm trying...
Read more >
undefined is not an object (evaluating 'device.id') in ... - YouTube
ERROR TypeError : undefined is not an object ( evaluating 'device.id')Please do like share and comment if you like the video please do...
Read more >
Render Error undefined is not an Object (evaluating _react ...
In this video ,we fixed an error "Render Error undefined is not an Object ( evaluating _react.react .createElement)".
Read more >
undefined is not an object (evaluating 'response.data')
But I always get this error when submiting a form. Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'response.data').
Read more >
undefined is not an object (evaluating 't.result.x')" in Safari
An Angular 8 app returns "TypeError: undefined is not an object (evaluating 't.result.x')" when using the data returned by the api.
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