Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jest related error when running gridsome develop #8078

Closed
marcfilleul opened this issue Mar 7, 2019 · 4 comments · Fixed by #8083
Closed

Jest related error when running gridsome develop #8078

marcfilleul opened this issue Mar 7, 2019 · 4 comments · Fixed by #8083

Comments

@marcfilleul
Copy link

Here is a link to a bug issue opened i gridsome github but apparently related to Jest:

gridsome/gridsome#252 (comment)

@hjvedvik
Copy link

hjvedvik commented Mar 7, 2019

This example doesn't work in the latest version (jest-worker@24.3.0) because stderr is null when setting silent: false or stdio as anything other than 'pipe'.

const worker = new Worker('/path/to/worker.js', {
  forkOptions: {
    silent: false
  }
})

The error message:

stderr is null - this should never happen. Please open up an issue at https://github.com/facebook/jest

@tohagan
Copy link

tohagan commented Mar 8, 2019

I've reproduced this same issue.

@SimenB
Copy link
Member

SimenB commented Mar 8, 2019

Thanks @hjvedvik! That makes perfect sense. We made the change since we got a type error - turns out our internal types were wrong (not really surprising)! Will have a PR with a fix up shortly

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants