1 git clone https://github.com/FaridSafi/react-native-gifted-chat
2 cd react-native-gifted-chat/example
3 npm install
4 react-native run-ios
actual output -
Couldn't find a React Native project
Make sure that your current working root (or its ancestor) contains a "node_modules" directory with react-native installed, or a .buckconfig file with a "[react-native]" section that has a "server" key.
@cooperka I have the same problem.
Hmm, I cleared out everything and tried fresh on master with these same steps and it all works for me. I'll need more info to be able to debug this, unfortunately.
If anyone else has this issue or if either of you could provide more information that would be helpful. I'd also recommend searching for this error online to see if anyone else has it. You're not running the sync script, are you? That shouldn't be needed.
I just added c2e8df36dd1572601720e8e20966e3c164d4645b to fix iOS builds in general, but it doesn't seem relevant to the error you describe here. I recommend clearing out all build caches, watchman, etc. and trying again. Here are some commands to clean things up:
git pull
rm -rf node_modules
rm -rf example/node_modules
rm -rf example/ios && git checkout HEAD example/ios
watchman watch-del-all
yarn cache clean
yarn install
yarn start -- --reset-cache
@ketankulkarni Did you resolve this issue?
@brunocascio have seen this https://www.youtube.com/watch?v=VTnFDc3IFag
@brunocascio was it helpful??? plz write problem with solution in detail