You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.
I'm updating my application right now and debugging some dependency issues. I just updated to Typescript 3 and updated react-scripts-ts to "3.1.0".
I'm currently getting an error when I run yarn test, which itself runs "react-scripts-ts test --env=jsdom --reporters default"
The error is:
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:123:28)
This is a totally new issue for me, and so I am Googling around for how to handle it. I came upon this Create React App issue which explains it: facebook/create-react-app#4540
In the issue they suggest to install Facebook's "watchman" to enable arbitrarily large amounts of files to be watched. But they also say that later versions of Jest don't need this.
I suspect that by hard coding to Jest 20.0.4 I am unable to get a fix for this particular issue? Is there any reason Jest is hardcoded at this version? Please note that I currently unable to determine if the fix for this issue was in 20.0.4, so it might be that this is a red herring. Regardless, I do feel that the question is still valid since now the latest react-scripts is 3 versions behind.
Is this an issue where I could help by doing a PR to update Jest? Or would you only update Jest's version as part of a larger release?
The text was updated successfully, but these errors were encountered:
@roneesh I tried to use a version past 20 and got an error message about a teardown function not being defined. I don't know why but we're stuck with jest 20 until that is solved.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm updating my application right now and debugging some dependency issues. I just updated to Typescript 3 and updated react-scripts-ts to "3.1.0".
I'm currently getting an error when I run
yarn test
, which itself runs"react-scripts-ts test --env=jsdom --reporters default"
The error is:
This is a totally new issue for me, and so I am Googling around for how to handle it. I came upon this Create React App issue which explains it: facebook/create-react-app#4540
In the issue they suggest to install Facebook's "watchman" to enable arbitrarily large amounts of files to be watched. But they also say that later versions of Jest don't need this.
I suspect that by hard coding to Jest 20.0.4 I am unable to get a fix for this particular issue? Is there any reason Jest is hardcoded at this version? Please note that I currently unable to determine if the fix for this issue was in 20.0.4, so it might be that this is a red herring. Regardless, I do feel that the question is still valid since now the latest react-scripts is 3 versions behind.
Is this an issue where I could help by doing a PR to update Jest? Or would you only update Jest's version as part of a larger release?
The text was updated successfully, but these errors were encountered: