There is an issue opened on Gifed Chat github repo
which describes the same problem there and provides couple of temporary solutions
i myself am using this
But you need to reset your previous installation in your npm modules here's what i did
- Find "react-native-gifted-chat" in your package.json
"dependencies": {
"@types/lodash.uniqueid": "^4.0.6",
"lodash.uniqueid": "^4.0.1",
"react": "16.11.0",
"react-native": "0.62.1",
"react-native-gifted-chat":"<your current version>" //delete this line
},
- delete "react-native-gifted-chat"
- go to root folder and delete node_modules and package-lock.json
- in your package.json paste
"react-native-gifted-chat": "git+https://github.com/StagasaurusRex/react-native-gifted-chat.git#upgrade-action-sheet"
where your previous "react-native-gifted-chat" entry was
- reinstall npm modules by launching
npm install in root folder
- this worked for me and got rid of this error
Still you should subscribe to Gifted Chat repository to look for updates, since when the official update comes out, you would want to go back to official npm package. Because User who provided temporary fix migh delete their repository.
To watch for updates click on eye icon in Gifted Chat repository.

Also if you are afraid that user who provided their temporary solution might delete their repo prematurely, you could fork Gifted Chat repo, fix errors and use it instead.