$ npm run build-dev-runner && NODE_ENV=development TEST=vtu node build/dev-runner.js
tiny-evt@0.16.2 build-dev-runner
cat scripts/args.esbuild.dev-runner | xargs npx esbuild
build/dev-runner.js 190.9kb
vite v2.8.2 building for production...
✓ 253 modules transformed.
tests/vtu/build/Navbar.spec.532c1d20.js 1.50 KiB / gzip: 0.69 KiB
tests/vtu/build/Navbar.spec.9ce7a654.css 0.30 KiB / gzip: 0.19 KiB
tests/vtu/build/vendor.39ff42b6.js 476.07 KiB / gzip: 153.33 KiB
node:events:368
throw er; // Unhandled 'error' event
^
Error: spawn jest ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:475:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:475:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn jest',
path: 'jest',
spawnargs: [ '--config', 'configs/jest.config.vtu.json' ]
}
Node.js v17.2.0
error Command failed with exit code 1.
$ npm run build-dev-runner && NODE_ENV=development TEST=vtu node build/dev-runner.js
build/dev-runner.js 190.9kb
vite v2.8.2 building for production...
✓ 253 modules transformed.
tests/vtu/build/Navbar.spec.532c1d20.js 1.50 KiB / gzip: 0.69 KiB
tests/vtu/build/Navbar.spec.9ce7a654.css 0.30 KiB / gzip: 0.19 KiB
tests/vtu/build/vendor.39ff42b6.js 476.07 KiB / gzip: 153.33 KiB
node:events:368
throw er; // Unhandled 'error' event
^
Error: spawn jest ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:475:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:475:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn jest',
path: 'jest',
spawnargs: [ '--config', 'configs/jest.config.vtu.json' ]
}
Node.js v17.2.0
error Command failed with exit code 1.