Open michal-cic opened 1 year ago
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
Current Behavior
The build command for an expo app fails, even with a fresh, barebones expo project.
Expected Behavior
I would like the build command to succeed.
GitHub Repo
https://github.com/michal-cic/nx-expo-issue-repro
Steps to Reproduce
npx create-nx-workspace
with the following options@nx/expo
withnpm i --save-dev @nx/expo
nx g @nx/expo:app my-app
npx nx build my-app -- --local
(it fails without the local flag as well)Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
I have noticed that the script
eas-build-pre-install.mjs
, that runs before installing dependencies (and other build steps) is supposed to copydependencies
anddevDependencies
from the workspace rootpackage.json
to the project rootpackage.json
(and also copy the workspace rootpackage-lock.json
to the project root). However, this doesn't seem to work and the project rootpackage.json
stays unchanged. I'm not sure how to proceed from here, I will be very happy for any pointers, thanks in advance.