Open BotSolver opened 2 years ago
SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169 at parse (<anonymous>) at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169: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:102:18) at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32)
I also have been facing this issue
SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169 at parse (<anonymous>) at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169: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:102:18) at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32)
Please Attach Your Config.json, Just Make Sure to delete the token b4 sending it here.
Just replace the config.json with this:
For those that don't know, .json files DO NOT support comments, this is why you are getting this error, make sure to delete the comments before running the bot, any further issues will be investigated.
SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169 at parse (<anonymous>) at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169: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:102:18) at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32)