Answer the question
In order to leave comments, you need to log in
How to fix this error? internal/modules/cjs/loader.js:1274?
Please help, I don't know what to do anymore.
When I launch the bot in VK through the cmd console, this error pops up, what should I do?
internal/modules/cjs/loader.js:1274
throw err;
^
SyntaxError: D:\Leo Bot\Leo Bot\base\users.json: Unexpected string in JSON at position 21996
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1271 :22)
at Module.load (internal/modules/cjs/loader.js:1085:32)
at Function.Module._load (internal/modules/cjs/loader.js:950:14)
at Module.require (internal/ modules/cjs/loader.js:1125:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object. (D:\Leo Bot\Leo Bot\app.js:1267:13)
at Module._compile (internal/modules/cjs/loader.js:1236:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1257:10)
at Module.load (internal/ modules/cjs/loader.js:1085:32)
at Function.Module._load (internal/modules/cjs/loader.js:950: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