[Android]TypeError: Super expression must either be null or a function in react-native@0.62.0-rc.5
See original GitHub issueDescription:
- the error happens while running
react-native run-android
after upgrade from0.61.5
to0.62.0-rc.5
. - this upgrade change is according to https://react-native-community.github.io/upgrade-helper
- screenshot here, and I see
TouchableNativeFeedbackSafe
in the error stack, and I found it was invoked byActionSheetProvider
screenshot
React Native version:
react-native info outputs
System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 252.58 MB / 16.00 GB
Shell: 2.7.1 - /usr/local/bin/fish
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.10.3 - ~/.nvm/versions/node/v10.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-25 | Google APIs ARM EABI v7a, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: ^4.3.0 => 4.3.0
react: 16.13.0 => 16.13.0
react-native: 0.62.0-rc.5 => 0.62.0-rc.5
npmGlobalPackages:
*react-native*: Not Found
Steps To Reproduce
- change my codes according to https://react-native-community.github.io/upgrade-helper.
- run
react-native run-ios
, and it is OK. - run
react-native run-android
and then meet this error. - I just created a new project with react-native@0.62.0-rc.5 and @expo/react-native-action-sheet@3.5.0, the problem can reproduce, here is the link
Expected Results
- successfully run the android app.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:20
Top Results From Across the Web
ERROR TypeError: Super expression must either be null or a ...
I am facing this issue while I try to set up react-realm with the latest RN project. > ERROR TypeError: Super expression must...
Read more >React-native: Super expression must either be null or a function
Solved It By Changing [. export default class App extends Component. ] to export default class App extends React. Component.
Read more >React Errors : Super expression must either be null or a function
Have you come across this error when working with React? Uncaught TypeError: Super expression must either be null or a function, not undefined....
Read more >Uncaught TypeError: Super expression must either be null or ...
After making production build i am getting this error in console and application is not getting loaded. My Environment: OS: Linux/Ubuntu ...
Read more >React Errors : Super expression must either be null or a function
Firstly, if you're certain that you're extending from the correctly named class, e.g. React.Component, not React.component or React.
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
🎉 This issue has been resolved in version 3.6.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
sry, it was https://github.com/FaridSafi/react-native-gifted-chat/issues/1703 after force resolution it’s now working.