F
F
FrizovPlay2019-06-08 20:32:48
In contact with
FrizovPlay, 2019-06-08 20:32:48

How to fix bot startup error on node.js?

For the first time I am making a bot for VKontakte. I watched the video guide, did everything exactly, maybe VK changed this method? But when I enter the string that the server should return, the following error appears on startup:
C:\Users\user\Desktop\bot>node bot
C:\Users\user\Desktop\bot\bot.js:9
confirmation: 'cb97c487 '
^^^^^^^^^^^^
SyntaxError: Unexpected identifier
←[90m at Module._compile (internal/modules/cjs/loader.js:718:23)←[39m
←[90m at Object.Module. _extensions..js (internal/modules/cjs/loader.js:785:10
)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:641:32)←[39m
←[90m at Function.Module._load(internal/modules/cjs/loader.js:556:12)←[39m
←[90m at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)←[39m
←[90m at internal/main/run_main_module.js:17:11←[39m
Thank you for your help!

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