Sapphire - Imagine a FrameworkS-IaF
Sapphire - Imagine a Frameworkโ€ข3y agoโ€ข
10 replies
Swiizyy

Error server

How can I solve this error ?

Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without closing.
    at __node_internal_captureLargerStackTrace (node:internal/errors:477:5)
    at new NodeError (node:internal/errors:387:5)
    at Server.listen (node:net:1523:11)
    at Server.connect (/home/swiizyy/Project/BirthdayyBotSapphire/node_modules/@sapphire/plugin-api/src/lib/structures/http/Server.ts:88:10)
    at BirthdayyClient.[SapphireFrameworkPluginsPreLogin] (/home/swiizyy/Project/BirthdayyBotSapphire/node_modules/@sapphire/plugin-api/src/register.ts:35:21)
    at BirthdayyClient.login (/home/swiizyy/Project/BirthdayyBotSapphire/node_modules/@sapphire/framework/dist/lib/SapphireClient.js:72:25)
    at BirthdayyClient.login (/home/swiizyy/Project/BirthdayyBotSapphire/src/lib/BirthdayyClient.ts:24:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_SERVER_ALREADY_LISTEN'
}
Was this page helpful?