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

expo start app name. Unable to resolve "../../App" from "node_modules\expo\AppEntry.js" #30039

Open
1 of 4 tasks
rookiedevloper opened this issue Feb 14, 2025 · 0 comments
Open
1 of 4 tasks

Comments

@rookiedevloper
Copy link

rookiedevloper commented Feb 14, 2025

Current Behavior

I've created an NX mono-repo workspace, where I work on multiple expo applications.

After running the application by "expo start app name" command I got the QR code, which I scanned from my mobile's expo go app. The result is as below.

Android Bundling failed 3259ms node_modules\expo\AppEntry.js (1 module)
Unable to resolve "../../App" from "node_modules\expo\AppEntry.js"

and if run with "nx start app name" the result is below.

@multiple-apps/[email protected] start:app
nx start app-one

NX Failed to process the project graph.

An error occurred while processing files for the @nx/jest/plugin plugin (Defined at nx.json#plugins[2])
.

apps/app-one/jest.config.ts: undefined
GitHub Repo
https://github.com/rookiedevloper/my-nx-expo-project

Expected Behavior

After running the application, I should scan the QR code and open the application in expo go app.

I should be able to run more expo applications.

GitHub Repo

https://github.com/rookiedevloper/my-nx-expo-project

Steps to Reproduce

  1. Install by npm install
  2. Run the application by any one command in the scripts in package.json for example "npm run start:app-one".
  3. If you run the expo, scan the QR code from the Expo Go app.

Nx Report

Report complete - copy this into the issue template

Node           : 20.18.0
OS             : win32-x64
Native Target  : x86_64-windows
npm            : 9.4.1

nx (global)            : 20.3.4
nx                     : 20.4.3
@nx/js                 : 20.4.3
@nx/jest               : 20.4.3
@nx/eslint             : 20.4.3
@nx/workspace          : 20.4.3
@nx/devkit             : 20.4.3
@nx/eslint-plugin      : 20.4.3
@nx/expo               : 20.4.3
@nx/module-federation  : 20.4.3
@nx/react              : 20.4.3
@nx/web                : 20.4.3
@nx/webpack            : 20.4.3
typescript             : 5.7.3

Failure Logs

Package Manager Version

No response

Operating System

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

Additional Information

No response

@rookiedevloper rookiedevloper marked this as a duplicate of #30028 Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant