Skip to content

Unexpected response from worker #5891

@iGitScor

Description

@iGitScor

Hi,

Do you want to request a feature or report a bug?
Report a bug

What is the current behavior?
A bunch of test fail after several passed test

If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can yarn install and yarn test.

Users/sebastien/project/node_modules/jest-worker/build/worker.js:169
        throw new TypeError('Unexpected response from worker: ' + response[0]);
        ^

TypeError: Unexpected response from worker: undefined
    at _receive (/Users/sebastien/project/node_modules/jest-worker/build/worker.js:169:15)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:744:12)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
error Command failed with exit code 1.

I don't know how I can give you more information, but please ask 🙏

What is the expected behavior?

Run all the tests

Please provide your exact Jest configuration

Run npx envinfo --preset jest in your project directory and paste the
results here

  System:
    OS: macOS Sierra 10.12.6
    CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Binaries:
    Node: 6.9.5
    Yarn: 1.3.2
    npm: 4.6.1
  npmPackages:
    jest:
      wanted: ^22.4.0
      installed: 22.4.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions