Skip to content
New issue

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

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

Already on GitHub? # to your account

E2E test fails on a fresh react-native app #19976

Closed
4 tasks
ndcunningham opened this issue Nov 1, 2023 · 1 comment · Fixed by #19977
Closed
4 tasks

E2E test fails on a fresh react-native app #19976

ndcunningham opened this issue Nov 1, 2023 · 1 comment · Fixed by #19977
Assignees
Labels
outdated scope: react-native Issues relating to React Native type: bug

Comments

@ndcunningham
Copy link
Contributor

Current Behavior

The e2e tests for react-native are not working on a OTB Nx react-native project.

Expected Behavior

e2e tests should work OTB

GitHub Repo

No response

Steps to Reproduce

  1. npx create-nx-workspace happynrwl --preset=react-native --appName=mobile
  2. cd happynrwl
  3. npx nx run mobile-e2e:test-android:production

You should get this error

Error: File not found: <rootDir>/tsconfig.spec.json (resolved as: /happynrwl/apps/mobile-e2e/tsconfig.spec.json)

Nx Report

Node   : 20.8.1
   OS     : darwin-arm64
   npm    : 10.1.0
   
   nx                 : 17.7.37
   @nx/js             : 17.7.37
   @nx/jest           : 17.7.37
   @nx/linter         : 17.7.37
   @nx/eslint         : 17.7.37
   @nx/workspace      : 17.7.37
   @nx/detox          : 17.7.37
   @nx/devkit         : 17.7.37
   @nx/eslint-plugin  : 17.7.37
   @nx/react          : 17.7.37
   @nx/react-native   : 17.7.37
   @nrwl/tao          : 17.7.37
   @nx/web            : 17.7.37
   typescript         : 5.1.6

Failure Logs

Error: File not found: <rootDir>/tsconfig.spec.json (resolved as: /happynrwl/apps/mobile-e2e/tsconfig.spec.json)

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Copy link

github-actions bot commented Dec 2, 2023

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
outdated scope: react-native Issues relating to React Native type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant