dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac

前端 未结 27 1325
孤城傲影
孤城傲影 2020-11-27 09:02

I installed node using homebrew (Mojave), afterwards php stoped working and if I try to run php -v I get this error:

php -v
dyld: Library not lo         


        
27条回答
  •  时光取名叫无心
    2020-11-27 10:03

    This is what finally worked for me.

    brew reinstall postgres

    After running the above command you might need to run

    brew postgresql-upgrade-database

    to access your previous data.

提交回复
热议问题