I
I
Ivan Ivanovich2020-04-23 16:16:31
Heroku
Ivan Ivanovich, 2020-04-23 16:16:31

application error?

Hello, I’ve been uploading a simple VK bot to node js on heroku several times already, constantly getting an Application error.

Removed everything from the code, what remains:

const VkBot = require('node-vk-bot-api');
const Markup = require('node-vk-bot-api/lib/markup')

const bot = new VkBot(token);

bot.startpolling();

Procfile

web: node index.js

In logs

2020-04-23T13:15:29.147123+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vkbotsupport.herokuapp.com request_id=f2e0e3e1-3c45-419a-92ef-f0406e277bd5 fwd="94.242.62.70" dyno= connect= service= status=503 bytes= protocol=https


Can you please tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question