Answer the question
In order to leave comments, you need to log in
Error in qiwi api node js. What to do?
The code:
const QiwiBillPaymentsAPI = require ( '@qiwi/bill-payments-node-js-sdk' );
const SECRET_KEY = '***ZX******************nlmbC0wMCIsInVzZXJfaW******************6ImMwOTRiNzUzYmIxZDk2ZTZiY*********************jOTY2MTYifX0=' ;
const qiwiApi = new QiwiBillPaymentsAPI ( SECRET_KEY );
/root/BarsBot(Lucasik)/qiwi.js:24
const QiwiBillPaymentsAPI = require('@qiwi/bill-payments-node-js-sdk');
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:931:16)
at Module._compile (internal/modules/cjs/loader.js:979:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question