1

When upgrading to the latest version of RN 0.62.0 importing the package leads to Type Errror: Super expression must either be null or a function

Akshay I
  • 3,675
  • 1
  • 34
  • 57
  • Same problem with RN "^0.62.2" Tell me if you have a solution for this. thx. – amin89 Apr 20 '20 at 15:08
  • @amin89 try to replace library version like "react-native-gifted-chat": "https://github.com/StagasaurusRex/react-native-gifted-chat.git#upgrade-action-sheet", – Akshay I Apr 21 '20 at 05:59

2 Answers2

1

I've tried to upgrade action-sheet version in react-native-gifted-chat in pack

Like

"react-native-gifted-chat": "https://github.com/StagasaurusRex/react-native-gifted-chat.git#upgrade-action-sheet",
Akshay I
  • 3,675
  • 1
  • 34
  • 57
0

I used this : "yarn add https://github.com/StagasaurusRex/react-native-gifted-chat.git#upgrade-action-sheet" it works!

amin89
  • 558
  • 1
  • 8
  • 26