alexjdesio / Skyblock-Auctions-Analyzer-Discord-Bot

Skyblock Auctions Analyzer is a lightweight Discord Bot for parsing Auction House JSON data.
10 stars 2 forks source link

Unexpected end of JSON input at parse (<anonymous>) #20

Open DwiftLive opened 3 years ago

DwiftLive commented 3 years ago

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.