Install current Preflight globally before testing #2404
Annotations
5 errors
__tests__/e2e.test.ts > Passes in the react-passing test project:
__tests__/e2e.test.ts#L62
ExecaError: Command failed with ENOENT: preflight
spawn preflight ENOENT
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ __tests__/e2e.test.ts:62:30
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with ENOENT: preflight\nspawn preflight ENOENT', originalMessage: 'spawn preflight ENOENT', command: 'preflight', escapedCommand: 'preflight', cwd: '/home/runner/work/preflight/preflight/__tests__/fixtures/__temp/react-passing', durationMs: 6.522373, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, code: 'ENOENT', stdout: '', stderr: '', stdio: [ undefined, '', '' ], ipcOutput: [], pipedFrom: [] }
Caused by: Caused by: Error: spawn preflight ENOENT
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'spawn preflight', path: 'preflight', spawnargs: [] }
|
__tests__/e2e.test.ts > Passes in the next-js-passing test project:
__tests__/e2e.test.ts#L71
ExecaError: Command failed with ENOENT: preflight
spawn preflight ENOENT
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ __tests__/e2e.test.ts:71:30
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with ENOENT: preflight\nspawn preflight ENOENT', originalMessage: 'spawn preflight ENOENT', command: 'preflight', escapedCommand: 'preflight', cwd: '/home/runner/work/preflight/preflight/__tests__/fixtures/__temp/next-js-passing', durationMs: 4.802663, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, code: 'ENOENT', stdout: '', stderr: '', stdio: [ undefined, '', '' ], ipcOutput: [], pipedFrom: [] }
Caused by: Caused by: Error: spawn preflight ENOENT
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'spawn preflight', path: 'preflight', spawnargs: [] }
|
ubuntu-latest: Build, lint, test
Process completed with exit code 1.
|
windows-latest: Build, lint, test
The job was canceled because "ubuntu-latest" failed.
|
windows-latest: Build, lint, test
The operation was canceled.
|