Comments (5)
Hey, I think you are right, the build agent output for the Read package.json step should respect that the pre-install hook changed the file 👍
from eas-cli.
Issue open on nx: nrwl/nx#22195
from eas-cli.
It appears that the .npmrc
file is required for the installation on EAS to run correctly. Once I copied the .npmrc
file to the nx-expo-test
root folder the build works.
This seems to be an issue with the nx-generator so maybe this issue can be closed, but it seems that the build agent output for the Read package.json step should respect that the pre-install hook changed the file which it currently does not seem to do.
.npmrc
strict-peer-dependencies=false
auto-install-peers=true
node-linker=hoisted
apps/nx-expo-test/package.json
Add && cp .npmrc apps/nx-expo-test
to the end of the eas-build-pre-install
script so that it is also copied along with the lock file.
{
"name": "nx-expo-test",
"version": "0.0.1",
"private": true,
"dependencies": {
"@testing-library/jest-native": "*",
"@testing-library/react-native": "*",
"metro-config": "*",
"react-native": "*",
"expo": "*",
"react-native-svg": "*",
"react-native-web": "*"
},
"scripts": {
"eas-build-pre-install": "cd ../../ && node tools/scripts/eas-build-pre-install.mjs . apps/nx-expo-test && cp pnpm-lock.yaml apps/nx-expo-test && cp .npmrc apps/nx-expo-test",
"eas-build-post-install": "cd ../../ && node tools/scripts/eas-build-post-install.mjs . apps/nx-expo-test"
}
}
from eas-cli.
Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.
from eas-cli.
Should be fixed now
from eas-cli.
Related Issues (20)
- EAS overwriting `ENVIRONMENT` env var HOT 2
- eas metadata:pull not working: Store configuration download encountered 6 errors HOT 2
- white screen on Expo Updates HOT 3
- EAS build no longer sees "android_app_id" for "react-native-google-mobile-ads" in "app.json".
- EAS build swapping image files/no API requests being made (android) HOT 5
- Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, HOT 9
- Authentication with Apple Developer Portal failed! HOT 1
- I am trying to build the iOS version of an application locally whose Expo. I have no issues building the Android version but run into issues when building the iOS. I can build the iOS version when I generate the Xcode project myself but cannot via eas. HOT 3
- iOS internal distribution build is failing during Pods Install step HOT 1
- During `Run fastlane`, `eas build` fails for IOS because of global.css - Cannot read properties of undefined (reading 'raw') HOT 4
- Unexpected server error on Android buils HOT 9
- EAS Build Fails When Trying to Install sqlite3 Pod HOT 10
- Error at :app:processReleaseMainManifest when I try to build my app. HOT 28
- Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information. HOT 1
- Network request failed in 'expo start --dev-client',error: App Transport Security,but it is work in expo go.
- unable to increase app version HOT 1
- EAS Build error for iOS, sqlite3.org not found HOT 7
- rsync error HOT 2
- RangeError: Invalid array length on Array(width).join(' ') (@expo/xcpretty) HOT 3
- SSH connection to GitHub fails at Install dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.