expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
799 stars 82 forks source link

EAS Android build failed due to `babel-plugin-react-compiler` #2612

Closed jamalsbh closed 5 days ago

jamalsbh commented 5 days ago

Build/Submit details page URL

https://expo.dev/accounts/mapage/projects/kriyakarak/builds/2f122864-869b-4695-abd5-4c4c6f2218dc

Summary

package.json

Using package.json:
{
  "name": "kriyakarak",
  "version": "1.0.0",
  "main": "./index.js",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
  },
  "dependencies": {
    "@apollo/client": "^3.10.8",
    "@expo-google-fonts/literata": "^0.2.3",
    "@expo-google-fonts/noto-sans": "^0.2.3",
    "@expo-google-fonts/spartan": "^0.2.2",
    "@expo/config-plugins": "~8.0.0",
    "@expo/vector-icons": "^14.0.2",
    "@markmccoid/react-native-drag-and-order": "^0.1.10",
    "@react-native-async-storage/async-storage": "1.23.1",
    "@react-native-community/datetimepicker": "8.0.1",
    "@react-native-community/netinfo": "11.3.1",
    "@react-native-firebase/app": "^20.1.0",
    "@react-native-firebase/messaging": "^20.1.0",
    "@react-native-google-signin/google-signin": "^12.2.1",
    "@react-native-masked-view/masked-view": "0.3.1",
    "@react-navigation/bottom-tabs": "^6.5.20",
    "@react-navigation/native": "^6.1.17",
    "@react-navigation/native-stack": "^6.9.26",
    "@shopify/flash-list": "1.6.4",
    "axios": "^1.7.2",
    "expo": "~51.0.17",
    "expo-apple-authentication": "^6.4.1",
    "expo-asset": "~10.0.10",
    "expo-av": "~14.0.6",
    "expo-build-properties": "~0.12.3",
    "expo-camera": "~15.0.13",
    "expo-clipboard": "~6.0.3",
    "expo-constants": "~16.0.2",
    "expo-dev-client": "~4.0.19",
    "expo-document-picker": "^12.0.2",
    "expo-file-system": "~17.0.1",
    "expo-font": "~12.0.7",
    "expo-gl": "~14.0.2",
    "expo-haptics": "~13.0.1",
    "expo-image-editor": "^1.7.1",
    "expo-image-loader": "~4.7.0",
    "expo-image-manipulator": "~12.0.5",
    "expo-image-picker": "~15.0.7",
    "expo-linear-gradient": "~13.0.2",
    "expo-linking": "~6.3.1",
    "expo-localization": "~15.0.3",
    "expo-location": "~17.0.1",
    "expo-media-library": "~16.0.4",
    "expo-secure-store": "~13.0.2",
    "expo-sharing": "~12.0.1",
    "expo-splash-screen": "~0.27.5",
    "expo-status-bar": "~1.12.1",
    "expo-system-ui": "~3.0.7",
    "graphql": "^16.9.0",
    "hsl-to-hex": "^1.0.0",
    "i18n-js": "^4.4.3",
    "jwt-decode": "^4.0.0",
    "path": "^0.12.7",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "^0.74.5",
    "react-native-animatable": "^1.4.0",
    "react-native-calendars": "^1.1305.0",
    "react-native-collapsible": "^1.6.1",
    "react-native-device-info": "^11.1.0",
    "react-native-draggable-flatlist": "^4.0.1",
    "react-native-gesture-handler": "~2.16.1",
    "react-native-google-places-autocomplete": "^2.5.6",
    "react-native-maps": "1.14.0",
    "react-native-material-ripple": "^0.9.1",
    "react-native-modal": "^13.0.1",
    "react-native-modal-datetime-picker": "^17.1.0",
    "react-native-nfc-manager": "^3.15.0",
    "react-native-otp-textinput": "^1.1.6",
    "react-native-paper": "^5.12.3",
    "react-native-pell-rich-editor": "^1.8.8",
    "react-native-qrcode-svg": "^6.3.1",
    "react-native-ratings": "^8.1.0",
    "react-native-reanimated": "~3.10.1",
    "react-native-render-html": "^6.3.4",
    "react-native-safe-area-context": "^4.10.5",
    "react-native-screens": "3.31.1",
    "react-native-svg": "15.2.0",
    "react-native-view-shot": "3.8.0",
    "react-native-web": "~0.19.10",
    "react-native-web-hooks": "^3.0.2",
    "react-native-webview": "^13.8.6",
    "react-native-youtube-iframe": "^2.3.0",
    "react-redux": "^8.0.2",
    "reanimated-color-picker": "^3.0.4",
    "recoil": "^0.7.7",
    "redux": "^4.2.0",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.4.1",
    "rn-tooltip": "^3.0.3",
    "socket.io-client": "^4.7.5"
  },
  "devDependencies": {
    "@babel/core": "^7.24.0",
    "babel-plugin-module-resolver": "^5.0.2",
    "expo-module-scripts": "^3.5.2",
    "lodash": "^4.17.21"
  },
  "private": true
}

eas build failed log:

Running "yarn install" in /home/expo/workingdir/build directory
yarn install v1.22.21
info No lockfile found.
[1/4] Resolving packages...
warning @expo/config-plugins > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning @expo/config-plugins > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @markmccoid/react-native-drag-and-order > np > del > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning expo > @expo/config > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > @expo/metro-config > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > @expo/config > sucrase > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > npm-package-arg > osenv@0.1.5: This package is no longer supported.
warning expo > @expo/cli > @react-native/dev-middleware > @rnx-kit/chromium-edge-launcher > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > temp > rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > temp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/codegen > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/community-cli-plugin > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
warning react-native-qrcode-svg > text-encoding@0.7.0: no longer maintained
warning expo-module-scripts > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > @babel/cli > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > babel-jest > babel-plugin-istanbul > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > domexception@4.0.0: Use your platform's native DOMException instead
[2/4] Fetching packages...
warning np@7.7.0: The engine "git" appears to be invalid.
[3/4] Linking dependencies...
warning " > @markmccoid/react-native-drag-and-order@0.1.10" has incorrect peer dependency "expo-haptics@^12.2.1".
warning " > @shopify/flash-list@1.6.4" has unmet peer dependency "@babel/runtime@*".
warning "expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen@0.74.87" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > @react-native/codegen > jscodeshift@0.14.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > expo-image-editor@1.7.1" has unmet peer dependency "expo-gl-cpp@*".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has unmet peer dependency "react-art@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react-dom@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react-native-web@0.9.x".
warning "expo-splash-screen > @expo/prebuild-config@7.0.8" has unmet peer dependency "expo-modules-autolinking@>=0.8.1".
warning "react-native > @react-native/codegen@0.74.88" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native-paper@5.12.5" has unmet peer dependency "react-native-vector-icons@*".
warning "react-native-render-html > @native-html/transient-render-engine@11.2.3" has unmet peer dependency "@types/react-native@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/css-processor@1.11.0" has unmet peer dependency "@types/react@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/css-processor@1.11.0" has unmet peer dependency "@types/react-native@*".
warning " > react-native-web-hooks@3.0.2" has unmet peer dependency "fbjs@*".
warning " > react-native-web-hooks@3.0.2" has unmet peer dependency "prop-types@*".
warning "expo-module-scripts > ts-jest@29.0.5" has unmet peer dependency "jest@^29.0.0".
warning "expo-module-scripts > jest-watch-typeahead@2.2.1" has unmet peer dependency "jest@^27.0.0 || ^28.0.0 || ^29.0.0".
warning "expo-module-scripts > eslint-config-universe@12.1.0" has unmet peer dependency "eslint@>=8.10".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node@11.1.0" has unmet peer dependency "eslint@>=5.16.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-react@7.37.1" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-import@2.31.0" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-prettier@5.2.1" has unmet peer dependency "eslint@>=8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-prettier@5.2.1" has unmet peer dependency "prettier@>=3.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-config-prettier@8.10.0" has unmet peer dependency "eslint@>=7.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-react-hooks@4.6.2" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/parser@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node > eslint-plugin-es@3.0.1" has unmet peer dependency "eslint@>=4.19.1".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/utils > @eslint-community/eslint-utils@4.4.0" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || >=8.0.0".
[4/4] Building fresh packages...
error /home/expo/workingdir/build/node_modules/babel-plugin-react-compiler: Command failed.
Exit code: 127
Command: ./scripts/link-react-compiler-runtime.sh
Arguments: 
Directory: /home/expo/workingdir/build/node_modules/babel-plugin-react-compiler
Output:
/bin/sh: 1: ./scripts/link-react-compiler-runtime.sh: not found
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Managed or bare?

expo managed

Environment

Expo Env Info:

expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 15.0.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
      Yarn: 1.22.22 - /usr/local/bin/yarn
      npm: 10.8.3 - ~/.nvm/versions/node/v20.14.0/bin/npm
      Watchman: 2024.09.30.00 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.15.2 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0
    IDEs:
      Android Studio: 2024.1 AI-241.18034.62.2412.12266719
      Xcode: 16.0/16A242d - /usr/bin/xcodebuild
    npmPackages:
      expo: ~51.0.17 => 51.0.36 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: ^0.74.5 => 0.74.5 
      react-native-web: ~0.19.10 => 0.19.12 
    npmGlobalPackages:
      eas-cli: 12.5.1
    Expo Workflow: bare

Expo doctor info:


✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check if the project meets version requirements for submission to app stores
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check native tooling versions
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK

Didn't find any issues with the project!

Error output

Running "yarn install" in /home/expo/workingdir/build directory
yarn install v1.22.21
info No lockfile found.
[1/4] Resolving packages...
warning @expo/config-plugins > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning @expo/config-plugins > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @markmccoid/react-native-drag-and-order > np > del > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning expo > @expo/config > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > @expo/metro-config > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > @expo/config > sucrase > glob@7.1.6: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > npm-package-arg > osenv@0.1.5: This package is no longer supported.
warning expo > @expo/cli > @react-native/dev-middleware > @rnx-kit/chromium-edge-launcher > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > temp > rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen > jscodeshift > temp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/codegen > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/community-cli-plugin > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
warning react-native-qrcode-svg > text-encoding@0.7.0: no longer maintained
warning expo-module-scripts > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > @babel/cli > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > babel-jest > babel-plugin-istanbul > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > domexception@4.0.0: Use your platform's native DOMException instead
[2/4] Fetching packages...
warning np@7.7.0: The engine "git" appears to be invalid.
[3/4] Linking dependencies...
warning " > @markmccoid/react-native-drag-and-order@0.1.10" has incorrect peer dependency "expo-haptics@^12.2.1".
warning " > @shopify/flash-list@1.6.4" has unmet peer dependency "@babel/runtime@*".
warning "expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/codegen@0.74.87" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > @react-native/codegen > jscodeshift@0.14.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > expo-image-editor@1.7.1" has unmet peer dependency "expo-gl-cpp@*".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has unmet peer dependency "react-art@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react-dom@16.x.x".
warning "expo-image-editor > modal-enhanced-react-native-web@0.2.0" has incorrect peer dependency "react-native-web@0.9.x".
warning "expo-splash-screen > @expo/prebuild-config@7.0.8" has unmet peer dependency "expo-modules-autolinking@>=0.8.1".
warning "react-native > @react-native/codegen@0.74.88" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native-paper@5.12.5" has unmet peer dependency "react-native-vector-icons@*".
warning "react-native-render-html > @native-html/transient-render-engine@11.2.3" has unmet peer dependency "@types/react-native@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/css-processor@1.11.0" has unmet peer dependency "@types/react@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/css-processor@1.11.0" has unmet peer dependency "@types/react-native@*".
warning " > react-native-web-hooks@3.0.2" has unmet peer dependency "fbjs@*".
warning " > react-native-web-hooks@3.0.2" has unmet peer dependency "prop-types@*".
warning "expo-module-scripts > ts-jest@29.0.5" has unmet peer dependency "jest@^29.0.0".
warning "expo-module-scripts > jest-watch-typeahead@2.2.1" has unmet peer dependency "jest@^27.0.0 || ^28.0.0 || ^29.0.0".
warning "expo-module-scripts > eslint-config-universe@12.1.0" has unmet peer dependency "eslint@>=8.10".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node@11.1.0" has unmet peer dependency "eslint@>=5.16.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-react@7.37.1" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-import@2.31.0" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-prettier@5.2.1" has unmet peer dependency "eslint@>=8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-prettier@5.2.1" has unmet peer dependency "prettier@>=3.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-config-prettier@8.10.0" has unmet peer dependency "eslint@>=7.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-react-hooks@4.6.2" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/parser@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node > eslint-plugin-es@3.0.1" has unmet peer dependency "eslint@>=4.19.1".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/utils > @eslint-community/eslint-utils@4.4.0" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || >=8.0.0".
[4/4] Building fresh packages...
error /home/expo/workingdir/build/node_modules/babel-plugin-react-compiler: Command failed.
Exit code: 127
Command: ./scripts/link-react-compiler-runtime.sh
Arguments: 
Directory: /home/expo/workingdir/build/node_modules/babel-plugin-react-compiler
Output:
/bin/sh: 1: ./scripts/link-react-compiler-runtime.sh: not found
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Reproducible demo or steps to reproduce from a blank project

please

passiondroid commented 5 days ago

Any updates on this ? This issue is still happening to me as well

jamalsbh commented 5 days ago

@passiondroid see this: https://github.com/expo/expo/issues/31912

byCedric commented 5 days ago

Crossposting here for visibility:

Hey all! We've issued an emergency hotfix for babel-preset-expo@11.0.15. This pins the React Compiler version to an older but working one. We've also pinged Meta to get a proper fix for babel-plugin-react-compiler ASAP.

For now, it's likely that using experiments.reactCompiler = true will break your project. But if you don't use the React Compiler experiment, your project will install normally.

If you still encounter this, update your lock file to install babel-preset-expo@11.0.15 for SDK 51, not babel-preset-expo@<=11.0.14. New projects created with npx create-expo(-app) should work again.

[!IMPORTANT] babel-preset-expo is a dependency of expo and, preferably, should not be installed directly in your project. However, you can force-update your lockfile by running npm i --save babel-preset-expo@11.0.15 - and then removing this package again. npm's optimization should update the dependency chain expo@51 -> babel-preset-expo@11.0.15 by doing so.

Sorry for the trouble!