I’m new to Mac and have had a successful dev setup with PHP 7.1, Apache 2.4, Node, Gulp, etc for the last few weeks.
Suddenly today things are broken. I did not initiate any updates that I know of.
node -v gives this error:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
Abort trap: 6
Similar for PHP.
My Apache httpd-vhosts.conf file also seems to have reverted to its default state (the Virtual Hosts I’d been using have disappeared).
The rest of my system is running fine, files are intact programs are working.
Can anyone point me in the right direction? I’m not sure where to start.