Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib #18760
I get the following error when I try to build my react native app in XCode:
All of the things I've found on google talk about reinstalling node using homebrew. However, I'm not using node via Homebrew, my node is installed via nvm.
Any help would be much appreciated.
Packages: (wanted => installed)
Steps to Reproduce
This is a project which builds fine on my client's machine and my laptop. It is only not working on my desktop computer.
I thought it would build.
It doesn't build because of the above error.
Thanks for posting this! It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out?
If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label. Thank you for your contributions.
I have tried completely uninstalling and reinstalling node. I have tried reinstalling icu4c manually. I have tried older versions of node, I have tried the latest version of node 9.11.1. I have updated my chown permissions. I have tried everything I could find on google related to this error. Nothing works.
This issue looks like a question that would be best asked on Stack Overflow.
Stack Overflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on Stack Overflow.
fixed for me.
Hey, so I solved a similar issue just now.
I was using React (not React Native) and was trying to sniff php code, but the error I got took the same form as yours:
What solved my issue was updating npm from 5.6.0 to 6.1.0 with
I'd imagine that doing
I got a new MBP and did a migration from my old one, but was getting this error while building my app for android. Doing the following worked for me:
referenced this issue
Nov 27, 2018
I hope i can help you