anti-raid icon indicating copy to clipboard operation
anti-raid copied to clipboard

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

Open Ailcope opened this issue 5 years ago • 9 comments

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 ?

Ailcope avatar Aug 26 '20 14:08 Ailcope

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

Emmanuel-Novus-zz avatar Aug 27 '20 14:08 Emmanuel-Novus-zz

What's the package to install ?

Ailcope avatar Aug 27 '20 14:08 Ailcope

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

Emmanuel-Novus-zz avatar Aug 27 '20 14:08 Emmanuel-Novus-zz

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

Ailcope avatar Aug 27 '20 14:08 Ailcope

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

Ailcope avatar Aug 27 '20 14:08 Ailcope

My bad, i have do "node install"

Ailcope avatar Aug 27 '20 14:08 Ailcope

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

Ailcope avatar Aug 27 '20 14:08 Ailcope

LEARN JS

TheFinality avatar Nov 01 '20 03:11 TheFinality

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

Ailcope avatar Nov 01 '20 13:11 Ailcope