🐛 fix(eslint/tests): try to fix testing config on windows #208
Annotations
9 errors
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530095:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530095:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\js', durationMs: 11120.4689, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530095:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530095:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530084:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530084:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\all', durationMs: 11099.8058, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530084:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530084:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530011:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530011:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\no-style', durationMs: 11077.926, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530011:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530011:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530417:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530417:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\tab-double-quotes', durationMs: 11245.2552, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530417:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337530417:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337529987:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337529987:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\ts-override', durationMs: 11067.3657, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337529987:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337529987:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532015:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532015:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\with-formatters', durationMs: 1709.0962, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532015:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532015:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
packages/eslint-config/test/fixtures.test.ts#L107
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.4.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js' imported from D:\a\petal\petal\eslint.config.ts
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532014:2:3893)
at nextResolve (node:internal/modules/esm/hooks:866:28)
at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)
at process.processImmediate (node:internal/timers:478:21)
❯ resolve ../../node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532014:2:3893
❯ getFinalError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.2.0/node_modules/execa/lib/methods/main-async.js:157:17
❯ test/fixtures.test.ts:107:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: 'D:\a\petal\petal\packages\eslint-config\_fixtures\no-markdown-with-formatters', durationMs: 1689.1874, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 2, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532014:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)', stdio: [ undefined, '', '\nOops! Something went wrong! :(\n\nESLint: 9.4.0\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\petal\petal\node_modules\@flowr\eslint-config\dist\index.js\' imported from D:\a\petal\petal\eslint.config.ts\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\n at defaultResolve (node:internal/modules/esm/resolve:1157:11)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at resolve (file:///D:/a/petal/petal/node_modules/.pnpm/tsx@4.15.4/node_modules/tsx/dist/esm/index.mjs?1718337532014:2:3893)\n at nextResolve (node:internal/modules/esm/hooks:866:28)\n at Hooks.resolve (node:internal/modules/esm/hooks:304:30)\n at handleMessage (node:internal/modules/esm/worker:196:24)\n at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28)\n at process.processImmediate (node:internal/timers:478:21)' ], ipcOutput: [], pipedFrom: [] }
|
|
This job failed
Loading