After upgrading from react-native v0.60.4 to v0.61.1 I receive a red screen where parse is unable to location EventEmitter in the project.
Using parse version 2.7.1.
Nothing else was changed between 0.60.4 => 0.61.1
Manage to start the app

same here
Whats the status on this is there a fix?
this fixed my problem:
go to the file:
node_modules\parse\lib\react-native\EventEmitter.js
and change this line:
const EventEmitter = require('EventEmitter');
to this:
const EventEmitter = require('../../../react-native/Libraries/vendor/emitter/EventEmitter');
When will we publish this update?
Yeah we really need this, I hope we can get this published soon.
There are a few PR's opened, once they are reviewed we can do a release.
I'll draft one right now.
In the meantime you can build the project or the latest branch.
https://github.com/parse-community/Parse-SDK-JS#want-to-ride-the-bleeding-edge
I have a same problem here.
@DurandSacha can you open a new issue and fill out the template as much as possible
TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[0], "../../../react-native/Libraries/vendor/emitter/EventEmitter").prototype.addListener')
I've been stuck on this for a couple hours. Can anyone point me in the right direction? Worked before adding @types/parse. Not working after removing the package though.
Only happens on react-native 0.64.0; 0.63.3 works fine.
TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[0], "../../../react-native/Libraries/vendor/emitter/EventEmitter").prototype.addListener')I've been stuck on this for a couple hours. Can anyone point me in the right direction? Worked before adding @types/parse. Not working after removing the package though.
Only happens on react-native 0.64.0; 0.63.3 works fine.
go to the file:
node_modules\parse\lib\react-native\EventEmitter.js
and change this line:
var EventEmitter = require('../../../react-native/Libraries/vendor/emitter/EventEmitter');
to this:
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
Only solution that worked, for me, I have been pulling my hair out over this issue for 5 days. No solutions online.
For what it's worth I'm using TypeScript, [email protected] and @maidrissi solution worked for me.
Most helpful comment
go to the file:
node_modules\parse\lib\react-native\EventEmitter.jsand change this line:
var EventEmitter = require('../../../react-native/Libraries/vendor/emitter/EventEmitter');to this:
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';Only solution that worked, for me, I have been pulling my hair out over this issue for 5 days. No solutions online.