Answer the question
In order to leave comments, you need to log in
Gives an error Unexpected end of JSON input?
I changed the data in the database, and this began to come out:
internal/modules/cjs/loader.js:1008
throw err;
^
SyntaxError: D:\боты\Бот\base\acc.json: Unexpected end of JSON input
at JSON.parse (<anonymous>)
←[90m at Object.Module._extensions..json (internal/modules/cjs/loader.js:1005
:27)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:811:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:723:14)←[39m
←[90m at Module.require (internal/modules/cjs/loader.js:848:19)←[39m
←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
at Object.<anonymous> (D:\боты\Бот\Bot.js:5:13)
←[90m at Module._compile (internal/modules/cjs/loader.js:955:30)←[39m
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10
)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:811:32)←[39m
Answer the question
In order to leave comments, you need to log in
Changed the data in the database
Unexpected end of JSON input
at JSON.parse()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question