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

skipLibCheck #1

Open
jameswilddev opened this issue Oct 15, 2021 · 0 comments
Open

skipLibCheck #1

jameswilddev opened this issue Oct 15, 2021 · 0 comments

Comments

@jameswilddev
Copy link
Owner

Jest makes the unfortunate decision to include a non-dev dependency on @types/node: jestjs/jest#10937

This completely breaks TypeScript compilation if @types/react-native is also installed (which is needed here for obvious reasons).

For now I am mirroring Expo's workaround of using skipLibCheck to work around this, but this is not an actual solution to the problem. Jest should not be pulling in system dependencies like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant