Closed xiongemi closed 2 years ago
Hi, EAS Build cannot build your project if it can't be built locally, in this case in Xcode. Can you please try to build it manually in Xcode and let me know if you're getting the same error?
The index.js is actually not at workspace root, it is at workingdir/build/apps/app/index.js.
Eas uploads git repository you are in, so if root of the git repo is not in the same directory as root of the monorepo then only that code will be uploaded
Closing because of the inactivity.
How was this issue resolved?
Summary
when building with nx monorepo with eas build, I got an error saying:
The index.js is actually not at workspace root, it is at workingdir/build/apps/app/index.js. I ran the eas build from apps/app folder and still got this error.
When I pass in the ENTRY_FILE, like
ENTRY_FILE=${PWD}/index.js eas build --platform ios --local
, I got a different errror saying:Managed or bare?
managed
Environment
EAS CLI 0.38.3 environment info: System: OS: macOS 11.6 Shell: 5.8 - /bin/zsh Binaries: Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.15 - ~/.nvm/versions/node/v14.17.0/bin/npm Utilities: Git: 2.30.1 - /usr/bin/git npmPackages: expo: => 43.0.3 react: => 17.0.2 react-dom: => 17.0.2 react-native: => 0.64.3 react-native-web: * => 0.17.5 npmGlobalPackages: eas-cli: 0.38.3 expo-cli: 4.13.0
Error output
Reproducible demo or steps to reproduce from a blank project
na