Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I been looking for over an hour for a fix but can't find it, when I try running it with index or shard it gives me this #48

Open
BotSolver opened this issue May 26, 2022 · 4 comments

Comments

@BotSolver
Copy link

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)

@Savageiscool
Copy link

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

@hellsuck
Copy link

hellsuck commented Jun 8, 2022

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.

@KuraiJigoku
Copy link

KuraiJigoku commented Jun 12, 2022

Just replace the config.json with this:

config.txt

@eYuM-coder
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants