Emmanuel-Novus-zz / anti-raid

Anti-Raid by Emmanuel#1943 and Matthieu#2050 | Command Handler by ArviX#8443
54 stars 17 forks source link

SyntaxError: Error parsing .\anti-raid-master\package.json #2

Open Ailcope opened 4 years ago

Ailcope commented 4 years ago

Bonjour, J'ai essayé d'utiliser votre bot anti raid, mais le problème est que celui ci me retourne une erreur. J'ai bel et bien mis le token dans le fichier approprié. Voici l'erreur: "SyntaxError: Error parsing .\anti-raid-master\package.json: Unexpected string in JSON at position 210 at parse () at readPackage (internal/modules/cjs/loader.js:262:20) at readPackageScope (internal/modules/cjs/loader.js:287:19) at shouldUseESMLoader (internal/modules/run_main.js:36:15) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:66:24) at internal/main/run_main_module.js:17:47 { path: '.\anti-raid-master\package.json' } Process exited with code 1" Le soucis est qu'il n'y a pas autant de ligne... Sauriez-vous m'aider ?

Emmanuel-Novus-zz commented 4 years ago

Delete the package.json file and install the modules one by one manually.

Ailcope commented 4 years ago

What's the package to install ?

Emmanuel-Novus-zz commented 4 years ago

You need to install colors; discord.js; moment and mysql2 with the command npm install!

Ailcope commented 4 years ago

Okay, thx, i have install DJS before, so i go install others

Ailcope commented 4 years ago

I can't install "colors", the module doesn't exist :/

Ailcope commented 4 years ago

My bad, i have do "node install"

Ailcope commented 4 years ago

image Uh, i have install all of modules, but, it doesn't work :( ....

TheFinality commented 4 years ago

LEARN JS

Ailcope commented 4 years ago

I know js lmao but i haven't understand the fonctionement of this bot :z