SyntaxError: C:\Users\FX 8320\Desktop\Skyblock-Auctions-Analyzer-Discord-Bot-main\auth.json: Unexpected end of JSON input
at parse ()
at Object.Module._extensions..json (node:internal/modules/cjs/loader:1167:22)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object. (C:\Users\FX 8320\Desktop\Skyblock-Auctions-Analyzer-Discord-Bot-main\bot.js:4:12)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
Idfk what im doing and i was wondering if you could help as ive been told the problem is redefining variables in different ways.
When i try run the code with node . or node bot.js i get the msg:
node:internal/modules/cjs/loader:1170 throw err; ^
SyntaxError: C:\Users\FX 8320\Desktop\Skyblock-Auctions-Analyzer-Discord-Bot-main\auth.json: Unexpected end of JSON input at parse ()
at Object.Module._extensions..json (node:internal/modules/cjs/loader:1167:22)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object. (C:\Users\FX 8320\Desktop\Skyblock-Auctions-Analyzer-Discord-Bot-main\bot.js:4:12)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
Idfk what im doing and i was wondering if you could help as ive been told the problem is redefining variables in different ways.