Open capjay45 opened 3 years ago
Looks like you're running this by clicking on it. Try running it by opening cmd.exe
and typing cd Desktopdiscordbot && node bot.js
.
I had the same issue, and when I loaded by the cmd, it says me that:
SyntaxError: C:\Users\Usuario\Desktop\jesus-bot\auth.json: Unexpected token D in JSON at position 0
at parse (
Hi, I know pretty much nothing about js but I keep getting this issue and I dont know how to solve it Script: C:/Users/myname/Desktopdiscordbot/bot.js Line: 1 Char: 1 Error: Object expected Code: numbers Source: Microsoft JScript runtime error