DEV Community

Cover image for Weirdest error in react native thus far..
Jafaru Emmanuel
Jafaru Emmanuel

Posted on

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

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay