Jx/refactor #39
Annotations
3 errors
|
test (18.x)
Process completed with exit code 1.
|
|
test/version.test.ts > commit-msg CLI version tests > should output version in development mode with correct prefix:
test/version.test.ts#L23
Error: Command failed: npm run dev -- --version
npm warn exec The following package was not found and will be installed: tsx@4.21.0
npm error code ENOENT
npm error syscall spawn sh
npm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild
npm error errno -2
npm error enoent spawn sh ENOENT
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-13T08_02_31_132Z-debug-0.log
❯ test/version.test.ts:23:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 254, signal: null, output: [ null, '\n> @ai-coding-workshop/commit-msg@0.2.11 dev\n> NODE_ENV=development NODE_OPTIONS=--no-warnings npx tsx src/bin/commit-msg.dev.ts --version\n\n', 'npm warn exec The following package was not found and will be installed: tsx@4.21.0\nnpm error code ENOENT\nnpm error syscall spawn sh\nnpm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild\nnpm error errno -2\nnpm error enoent spawn sh ENOENT\nnpm error enoent This is related to npm not being able to find a file.\nnpm error enoent\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-13T08_02_31_132Z-debug-0.log\n' ], pid: 3300, stdout: '\n> @ai-coding-workshop/commit-msg@0.2.11 dev\n> NODE_ENV=development NODE_OPTIONS=--no-warnings npx tsx src/bin/commit-msg.dev.ts --version\n\n', stderr: 'npm warn exec The following package was not found and will be installed: tsx@4.21.0\nnpm error code ENOENT\nnpm error syscall spawn sh\nnpm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild\nnpm error errno -2\nnpm error enoent spawn sh ENOENT\nnpm error enoent This is related to npm not being able to find a file.\nnpm error enoent\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-13T08_02_31_132Z-debug-0.log\n' }
|
|
test/version.test.ts > commit-msg CLI version tests > should output version in development mode with correct prefix:
test/version.test.ts#L23
Error: Command failed: npm run dev:node20 -- --version
npm warn exec The following package was not found and will be installed: tsx@4.21.0
❯ test/version.test.ts:23:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '\n> @ai-coding-workshop/commit-msg@0.2.11 dev:node20\n> NODE_ENV=development NODE_OPTIONS=--no-warnings npx tsx src/bin/commit-msg.dev.ts --version\n\n', 'npm warn exec The following package was not found and will be installed: tsx@4.21.0\n' ], pid: 3532, stdout: '\n> @ai-coding-workshop/commit-msg@0.2.11 dev:node20\n> NODE_ENV=development NODE_OPTIONS=--no-warnings npx tsx src/bin/commit-msg.dev.ts --version\n\n', stderr: 'npm warn exec The following package was not found and will be installed: tsx@4.21.0\n' }
|