Unable to resolve module `RCTDeviceEventEmitter`
See original GitHub issuebundling failed: Error: Unable to resolve module RCTDeviceEventEmitter
my code is import RCTDeviceEventEmitter from “RCTDeviceEventEmitter”;
React Native 0.60.5 is ok ,but i upgrade 0.61.0 get error,and i import dismissKeyboard get the same error. please tell me why,and what should I do. thanks so mush.
React Native version:
"react-native": "^0.61.0"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Cannot find module 'RCTDeviceEventEmitter' from 'react ...
I have this simple class, with a method that just takes an event and calls DeviceEventEmitter , and then returns:
Read more >unable to resolve module deprecated-react-native-prop-types
So far I have been unable to resolve this error, and I have the most recent version of the fiction-expo-restart library. How can...
Read more >Android Native Modules
Similar to callbacks, a native module method can either reject or resolve a promise (but not both) and can do so at most...
Read more >[Solved]-React Native & iOS : Invariant Violation: Module ...
... Violation: Module RCTDeviceEventEmitter is not a registered callable module (calling ... can't find ios framework headers in react native module library ...
Read more >Native Modules · React Native for Windows + macOS
By default, the name visible to JavaScript is the same as the class name, and the default event emitter is RCTDeviceEventEmitter . You...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AllenCai1991 I was able to work around by importing directry from the file in RN 0.61.5
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.