Global Node Packages Installed to Wrong Directory
After a little digging, I found that my npm prefix variable was pointing do the wrong directory, left behind by the old Node installation. I ran npm config get prefix
to see where it was pointing.
I set the new prefix value using npm config set prefix /usr/local
. Homebrew is symlinked with this directory via /usr/local/bin
. I uninstalled hexo-cli and reinstalled through npm, and now it works perfectly.