whatsapp-api-tutorial icon indicating copy to clipboard operation
whatsapp-api-tutorial copied to clipboard

error saat deploy ke heroku

Open yuwandianto opened this issue 3 years ago • 5 comments

Sekitar satu bulan yang lalu saya mencoba deploy ke heroku sesuai tutorial berhasil. namun hari ini mencoba lagi mendapat error seperti ini.

2021-07-27T07:03:02.277794+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=wapi-sman1jorong.herokuapp.com request_id=808b46f7-8aae-4e08-8bf9-9d56f8809b55 fwd="114.5.243.107" dyno= connect= service= status=503 bytes= protocol=https 2021-07-27T07:03:03.056102+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=wapi-sman1jorong.herokuapp.com request_id=94097740-1553-402b-944a-9a5066e9323f fwd="114.5.243.107" dyno= connect= service= status=503 bytes= protocol=https 2021-07-27T07:06:09.485640+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=wapi-sman1jorong.herokuapp.com request_id=b34f046f-a3c3-4ab7-af5b-19f42257c7db fwd="114.5.243.107" dyno= connect= service= status=503 bytes= protocol=https 2021-07-27T07:06:09.896405+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=wapi-sman1jorong.herokuapp.com request_id=64db9799-f34e-45aa-b568-cf659c02826b fwd="114.5.243.107" dyno= connect= service= status=503 bytes= protocol=https

bagaimana ya solusinya?

yuwandianto avatar Jul 27 '21 07:07 yuwandianto

Silahkan update library-nya, gunakan whatsapp-web.js versi terbaru.

ngekoding avatar Jul 27 '21 11:07 ngekoding

masih error yang sama mas saya ubah package.json dari "whatsapp-web.js": "latest" menjadi "whatsapp-web.js": "^1.13.2"

yuwandianto avatar Jul 27 '21 12:07 yuwandianto

Sudah jalankan npm update setelah mengubah versinya?

ngekoding avatar Jul 28 '21 00:07 ngekoding

kalo di heroku setelah diubah filenya lalu deploy ulang sama saja dengan npm update kan mas?

yuwandianto avatar Jul 28 '21 01:07 yuwandianto

saya mengalami hal yg sama, solusinya lihat di setting > buildpacks, tambahkan heroku/nodejs

masetio avatar Dec 20 '21 08:12 masetio