Eas version: eas-cli/0.33.1 darwin-x64 node-v14.15.1
Bare workflow
During step 3, install dependencies, and step 3/5 for yarn it fails on EAS servers, with this error log.
I installed and configured fastlane locally, & ran eas build --platform ios --profile preview
with this eas.json file:
{
"build": {
"development": {
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"ios": {
"distribution": "internal",
"simulator": true
}
},
"production": {}
},
"submit": {
"production": {}
}
}
& this is the last error that fastlane generates.
[RUN_FASTLANE] › Executing [CP-User] Generate app.manifest for expo-updates
[RUN_FASTLANE]
❌ Metro encountered an error:
Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /var/folders/wh/872ysnf922x0k_1wgvqp93100000gn/T/eas-build-local-nodejs/bf4bfa61-12fb-4af0-ae3f-4df30e8efeb4/build/index.js: @babel/runtime/helpers/interopRequireDefault could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
> 1 | import { registerRootComponent } from 'expo'
2 |
3 | import App from './App'