It is an expo-eject project and the commands I have used after cloning the project are:
Yarn, Yarn start, Yarn android,
And it does not show any error but gets stuck on a same point everytime when I try to run the project.
The project runs fine on the laptops of other teammates, but I am facing this issue. Here are the versions of the installed tools: Nodejs 14.17.6, Expo 4.11.0, React-native-cli 2.0.1,
I am adding an image that shows where the project gets blocked.
Had the same issue, and tried @usama-alaf reply, which consisted of:
But none of the above worked for me. Digging a little deeper, I found this Github issue from Willem Horsten, where the developer states that there was a yarn.lock file on one of his Hard Drives. I'm actually running my development environment on a secondary HD, and I also had a lock file in the root of the drive, but after deleting it, nothing changed.
Here's what actually worked for me. I was running Node v12, and trying to build the project, and trying to check whether the Node version was the culprit, I did this:
node_modules, yarn.lock, and all other lock files I could find (for some reason there was also a package-lock.json file on the project)yarn installyarn android, and the build worked this time.