Fixing issue #529 #3
Annotations
2 errors and 1 warning
|
tests/preserve-caught-error.test.ts > Preserve Caught Error Rule Tests > should pass when using correct cause parameter:
tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 127: npx 'create-next-app@latest' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir '--import-alias "@/*"' --no-git --yes
sh: 1: create-next-app: not found
❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17
❯ execWithLogging tests/utils/test-environment.ts:38:20
❯ TestEnvironment.createNextjsApp tests/utils/test-environment.ts:148:7
❯ tests/preserve-caught-error.test.ts:61:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 127: npx \'create-next-app@latest\' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir \'--import-alias "@/*"\' --no-git --yes', command: 'npx create-next-app@latest /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" --no-git --yes', escapedCommand: 'npx \'create-next-app@latest\' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir \'--import-alias "@/*"\' --no-git --yes', cwd: '/tmp/solvro-test-preserve-caught-error-1757583320765', durationMs: 1057.095036, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 127, stdout: '', stderr: 'sh: 1: create-next-app: not found', stdio: [ undefined, '', 'sh: 1: create-next-app: not found' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/preserve-caught-error.test.ts > Preserve Caught Error Rule Tests > should enforce preserve-caught-error rule when ESLint >= 9.35.0:
tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 127: npx 'create-next-app@latest' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir '--import-alias "@/*"' --no-git --yes
sh: 1: create-next-app: not found
❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17
❯ execWithLogging tests/utils/test-environment.ts:38:20
❯ TestEnvironment.createNextjsApp tests/utils/test-environment.ts:148:7
❯ tests/preserve-caught-error.test.ts:18:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 127: npx \'create-next-app@latest\' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir \'--import-alias "@/*"\' --no-git --yes', command: 'npx create-next-app@latest /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" --no-git --yes', escapedCommand: 'npx \'create-next-app@latest\' /tmp/solvro-test-preserve-caught-error-1757583320765/create-next-app-__typescript___tailwind___eslint___app___src_dir___import_alias_________no_git___yes --typescript --tailwind --eslint --app --src-dir \'--import-alias "@/*"\' --no-git --yes', cwd: '/tmp/solvro-test-preserve-caught-error-1757583320765', durationMs: 1052.518571, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 127, stdout: '', stderr: 'sh: 1: create-next-app: not found', stdio: [ undefined, '', 'sh: 1: create-next-app: not found' ], ipcOutput: [], pipedFrom: [] }
|
|
copilot
No files were found with the provided path: /home/runner/work/_temp/runtime-logs/blocked.jsonl
/home/runner/work/_temp/runtime-logs/blocked.md. No artifacts will be uploaded.
|