brew install node
Do:
brew update
brew upgrade node
npm update npm -g
node --version
brew install node
brew update
brew upgrade node
npm update npm -g
node --version
mkdir -p lib/php
mv zlib.so lib/php/
echo "extension = /app/www/lib/php/zlib.so" > php.ini
git add .
git push heroku production:master