Skip to content Skip to sidebar Skip to footer

Can Not Deploy Gulp Application On Heroku. Heroku Local Web Works Though

I am trying to push google web starter kit on Heroku. I perform following steps ➜ dist git:(deploy_heroku) heroku local web [WARN] No ENV file found [WARN] ENOENT: no such file

Solution 1:

enter image description here

You should place a start script your main package.json like this:

"scripts": {
    "start": "gulp && node dist/server.js"
    ...
},

I did not test but I think it should work.

Solution 2:

I had to add a Procfile and add changes to it. After that, it started to work

The complete codebase is https://github.com/hhimanshu/web-starter-kit and the URL is https://guarded-island-95163.herokuapp.com/

Post a Comment for "Can Not Deploy Gulp Application On Heroku. Heroku Local Web Works Though"