olofd / react-native-photos-framework

A modern and comprehensive CameraRoll/iCloud-library-API for React Native 📸 📹
MIT License
220 stars 99 forks source link

Unable to resolve module `../react-native/Libraries/EventEmitter/EventEmitter` #68

Closed keviniamburg closed 6 years ago

keviniamburg commented 7 years ago

Hi there, I am encountering this issue during installation. After a bit of research I came across this issue for a different react-native project which seems like it might be relevant here: https://github.com/invertase/react-native-firebase/issues/386

Looks like EventEmitter.js was removed from the EventEmitter library as of RN 0.48.

My versions:

"react-native": "0.48.3", "react-native-photos-framework": "^1.0.8", platform: iOS

Thromshall commented 7 years ago

I am having this issue as well.

orkanylmz commented 6 years ago

Change in, node_modules/react-native-photos-framework/event-emitter.js From: import EventEmitter from '../react-native/Libraries/EventEmitter/EventEmitter'; To: import EventEmitter from '../react-native/Libraries/vendor/emitter/EventEmitter';

aforty commented 6 years ago

@olofd this change still isn't on npm with version 1.0.8. Can you push an update?

monolithed commented 6 years ago

+1, why is not published yet?

82rules commented 6 years ago

@olofd +1 can we get this fix in a release, I need to update this error during our builds.

andresouza commented 6 years ago

this is also affecting us, can we please get an update?

tommynordli commented 6 years ago

Please reopen, it's still not published

aforty commented 6 years ago

For the love of everything @olofd, can you please push this to npm?

82rules commented 6 years ago

we had to resolve it by locking our package.json to a commit "react-native-photos-framework": "https://github.com/olofd/react-native-photos-framework.git#adaa91d8bd13e93cb18c5884d9fde27228a44ebb",