If you have not tried to, I suggest installing brew, then running “brew install pcre2”, according to this other forum post:
This will update the pcre2 library.
I had the same Unhandled promise rejection error, my macbook is also running on High Sierra, and this solved my issue.