LucasBassetti / react-native-chatbot

:speech_balloon: Easy way to create conversation chats
https://github.com/LucasBassetti/react-simple-chatbot
MIT License
248 stars 116 forks source link

not able to run app in new version #71

Closed musadiq-jinbade closed 4 years ago

musadiq-jinbade commented 4 years ago

Screenshot 2020-04-14 at 10 51 49 AM

Description

Getting issue while running application

can we ruse react-native chatbot in react-native version 0.62?

Screenshots

musadiq-jinbade commented 4 years ago

remove ART from 'react-native' in node modules and import {Surface, Shape, Path} from '@react-native-community/art';

edogbosunny commented 4 years ago

@musadiq-jinbade please what file should this import be? import {Surface, Shape, Path} from '@react-native-community/art';

smilydronavalli commented 4 years ago

@musadiq-jinbade give me the clarification how to solve this issue then only we are able to use this chatbot npm

Kindly guide me regarding this one and little bit urgent

Thanks in advance

musadiq-jinbade commented 4 years ago

@musadiq-jinbade give me the clarification how to solve this issue then only we are able to use this chatbot npm

Kindly guide me regarding this one and little bit urgent

Thanks in advance

I did one thing remove all the npm of a chatbot, style-component.etc

then I just installed this only

npm install --save react-native-chabot styled-components

it will work

smilydronavalli commented 4 years ago

I did the it but I got the following error Simulator Screen Shot - iPhone 11 - 2020-04-24 at 13 02 57

kindly guide me

smilydronavalli commented 4 years ago

Hi,

This is issue is happened new version of react native.while you intstall 0.61.5 version of react native then this issue is not occured

musadiq-jinbade commented 4 years ago

first time I tried and this error was getting for me as well let me know the react native project version?

musadiq-jinbade commented 4 years ago

Hi,

This is issue is happened new version of react native.while you intstall 0.61.5 version of react native then this issue is not occured

Yes, I tried in new react-native version it was getting error but in 0.61.5 version working fine

musadiq-jinbade commented 4 years ago

if you are using new version then you can fix by removing import in node modules and npm community/art...etc

musadiq-jinbade commented 4 years ago

@musadiq-jinbade please what file should this import be? import {Surface, Shape, Path} from '@react-native-community/art';

if you are using new version then you need to import this instead of ART in react native in node modules and npm community/art...etc