Bonjour,

j'ai un probleme avec node.js et vosual studio code
depuis que j'ai etein mon ordinateur (ouai parceque quand meme la nuit je l'etein) je ne peut plus executer de code pour mon bot
voila ce que j'obtiens:

C:\Program Files\nodejs\node.exe --inspect-brk=32665 index.js
Debugger listening on ws://127.0.0.1:32665/360886f2-9a3d-4d99-91b4-d6de19c383b2
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
(node:9164) UnhandledPromiseRejectionWarning: FetchError: request to https://discordapp.com/api/v7/gateway/bot failed, reason: unable to verify the first certificate
at RequestHandler.execute (c:\Users\Enzo_\Desktop\kyouma\node_modules\discord.js\src\rest\RequestHandler.js:107:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:9164) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:9164) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

je ne comprend pas ce que je doit faire

merci

Aucune réponse