Skip to content

npm run vtu error #32

Description

@universeroc

$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions