Weirdest error in react native thus far..

emmyjaff

Jafaru Emmanuel

Posted on November 21, 2023

Weirdest error in react native thus far..

A few moments ago, I came across one of the weirdest errors I have come across many times while working in a React Native project.

This error message was so much that the terminal was not able to display all that message for the error log.

Immediately I sped off to run npm i then tried to build my app on IOS with npx react-native run-ios and the error surfaced yet again.

I remembered it showed something about pod in the message, so I quickly ran pod install.

As the usual, it took a 'quick' few seconds and installed, then was I in a hurry to run

npx react-native run-ios

once again. It took a few seconds before finally throwing the error yet again.

This time I took a deep look in the message and found right at the bottom of the error message a few lines that said something about one of my remote configuration file.
I was pissed at myself for not noticing this initially.
I then moved on to open this workspace file from the IOS directory. Then ran the application. That was where I saw it clearly say that the smile configuration file was missing.
Strangely, I had the file, so I simply deleted it and copied it back, then once again hit the play button on Xcode and it built successfully.
I could tell that my problem was solved, but I had to ensure that it ran on my VS Code and that was it.
Did I do any extra step to have it run on VS Code? Interestingly, this time I did not have to.

Image description

💖 💪 🙅 🚩
emmyjaff
Jafaru Emmanuel

Posted on November 21, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Weirdest error in react native thus far..
javascript Weirdest error in react native thus far..

November 21, 2023