RERUN test/plugins.test.ts x3 stdout | unknown test info: All dependencies loaded successfully. info: sern : 38.87 ms stdout | unknown test error: i [Error]: Tokens already exist: ['@sern/logger'] at o.add (file:///home/a7mooz/Codes/sern-community/node_modules/iti/src/iti.ts:290:7) at Ee (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:7366) at Object.er (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:12900) at file:///home/a7mooz/Codes/sern-community/dist/src/index.js:21:27 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) error: i [Error]: Tokens already exist: ['@sern/logger'] at o.add (file:///home/a7mooz/Codes/sern-community/node_modules/iti/src/iti.ts:290:7) at Ee (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:7366) at Object.er (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:12900) at file:///home/a7mooz/Codes/sern-community/dist/src/index.js:21:27 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) error: i [Error]: Tokens already exist: ['@sern/logger'] at o.add (file:///home/a7mooz/Codes/sern-community/node_modules/iti/src/iti.ts:290:7) at Ee (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:7366) at Object.er (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:12900) at file:///home/a7mooz/Codes/sern-community/dist/src/index.js:21:27 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) error: i [Error]: Tokens already exist: ['@sern/logger'] at o.add (file:///home/a7mooz/Codes/sern-community/node_modules/iti/src/iti.ts:290:7) at Ee (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:7366) at Object.er (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:12900) at file:///home/a7mooz/Codes/sern-community/dist/src/index.js:21:27 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) error: i [Error]: Tokens already exist: ['@sern/logger'] at o.add (file:///home/a7mooz/Codes/sern-community/node_modules/iti/src/iti.ts:290:7) at Ee (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:7366) at Object.er (file:///home/a7mooz/Codes/sern-community/node_modules/@sern/handler/dist/esm/index.mjs:12:12900) at file:///home/a7mooz/Codes/sern-community/dist/src/index.js:21:27 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) info: an event module reached end of lifetime info: Cleaning container and crashing stdout | unknown test info: [✅]: Logged in as Test bot ❯ test/plugins.test.ts (0) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL test/plugins.test.ts [ test/plugins.test.ts ] Error: Tokens already exist: ['@sern/logger'] ❯ o.add node_modules/iti/src/iti.ts:290:7 ❯ Ee node_modules/@sern/handler/dist/esm/index.mjs:12:7366 ❯ Object.er node_modules/@sern/handler/dist/esm/index.mjs:12:12900 ❯ dist/src/index.js:21:27 19| } 20| }); 21| const useContainer = Sern.makeDependencies({ | ^ 22| build: (root) => root.add({ "@sern/client": single(() => client) }).upsert({ "@sern/logger": single(() => new SernLogger("info")) }).add({ process: single(() => process) }).add({ 23| octokit: single(() => new Octokit({ auth: process.env.GITHUB_TOKEN })) ❯ dist/src/plugins/publish.js:3:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Vitest caught 2 unhandled errors during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Uncaught Exception ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error: Tokens already exist: ['@sern/logger'] ❯ o.add node_modules/iti/src/iti.ts:290:7 ❯ Ee node_modules/@sern/handler/dist/esm/index.mjs:12:7366 ❯ Object.er node_modules/@sern/handler/dist/esm/index.mjs:12:12900 ❯ dist/src/index.js:21:27 19| } 20| }); 21| const useContainer = Sern.makeDependencies({ | ^ 22| build: (root) => root.add({ "@sern/client": single(() => client) }).upsert({ "@sern/logger": single(() => new SernLogger("info")) }).add({ process: single(() => process) }).add({ 23| octokit: single(() => new Octokit({ auth: process.env.GITHUB_TOKEN })) ❯ ModuleJob.run node:internal/modules/esm/module_job:194:25 This error originated in "test/plugins.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Uncaught Exception ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error: Tokens already exist: ['@sern/logger'] ❯ o.add node_modules/iti/src/iti.ts:290:7 ❯ Ee node_modules/@sern/handler/dist/esm/index.mjs:12:7366 ❯ Object.er node_modules/@sern/handler/dist/esm/index.mjs:12:12900 ❯ dist/src/index.js:21:27 19| } 20| }); 21| const useContainer = Sern.makeDependencies({ | ^ 22| build: (root) => root.add({ "@sern/client": single(() => client) }).upsert({ "@sern/logger": single(() => new SernLogger("info")) }).add({ process: single(() => process) }).add({ 23| octokit: single(() => new Octokit({ auth: process.env.GITHUB_TOKEN })) ❯ ModuleJob.run node:internal/modules/esm/module_job:194:25 This error originated in "test/plugins.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Test Files 1 failed (1) Tests no tests Errors 2 errors Start at 14:50:03 Duration 0ms