Node App works on Heroku Local but crashes on Heroku server. using simple Foundation template project
问题 I am trying to deploy a Foundation web app based on Yarn, Gulp and Node.js on Heroku. It works with heroku local web but crashes on the Heroku server. I have set the port correctly. I am trying to remove Browsersync and use gulp-connect instead. In my gulpfile.js I have set the connectHeroku task which is run after build. I have set the yarn start command in the environment for Heroku. Here is my gulp.babel.js : 'use strict'; import plugins from 'gulp-load-plugins'; import yargs from 'yargs';