Open smooJitter opened 6 years ago
This is a bug of react-native-photos-framework
.
You can fix file event-emitter.js in react-native-photos-framework
module this like this.
import EventEmitter from '../react-native/Libraries/vendor/emitter/EventEmitter';
export default EventEmitter;
I’m interested in see how you’ve integrated a few packages I plan to use. I tried to run this locally but I’m running into this error
Unable to resolve module `../react-native/Libraries/EventEmitter/EventEmitter.
I’ve found a few solutions but they apply to earlier version of react-native. I writing to figure out how you’ve manage to avoid this error.
PS..although related to a different package, I gather the problem is the same. https://github.com/olofd/react-native-photos-framework/issues/68