Realm-js: Subscription is not defined

Created on 15 Mar 2018  路  5Comments  路  Source: realm/realm-js

When running the debugger on a React Native application, it throws a "Subscription is not defined" error.
It occurs right at the import Realm from 'realm' line.

Expected results

Run the react native debugger on a react native application with realm

Actual results

Got an error right after set debbuger on
image

Steps to reproduce

Create a react native application on android, import realm and activate the debbuger on Chrome

Versions

Realm: 2.3.0
ReactNative: 0.52.2

I believe that this file is missing a import Subscription from './subscription';
https://github.com/realm/realm-js/blob/10480c1afe73b49dc0d6f2a2876f1bccf6d1b588/lib/browser/index.js#L150

Most helpful comment

I already downgraded to the version 2.2.15 and the same error persists

All 5 comments

Why is this closed? Please re-release a fix, it happens on 2.3.1 too

Sorry, I did not explain that this is duplicated #1711

Downgrading from [email protected] to [email protected] solves this problem for me.

I already downgraded to the version 2.2.15 and the same error persists

It still happens with 2.3.3

Was this page helpful?
0 / 5 - 0 ratings