Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jamalsbh opened this issue Oct 8, 2024 · 3 comments
Closed

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

jamalsbh opened this issue Oct 8, 2024 · 3 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@jamalsbh
Copy link

jamalsbh commented Oct 8, 2024

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 > [email protected]: Glob versions prior to v9 are no longer supported
warning @expo/config-plugins > glob > [email protected]: 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 > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob > [email protected]: 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 > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/metro-config > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/config > sucrase > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > npm-package-arg > [email protected]: This package is no longer supported.
warning expo > @expo/cli > @react-native/dev-middleware > @rnx-kit/chromium-edge-launcher > [email protected]: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: 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 > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/codegen > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/community-cli-plugin > [email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: no longer maintained
warning expo-module-scripts > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > @babel/cli > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > babel-jest > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native DOMException instead
[2/4] Fetching packages...
warning [email protected]: The engine "git" appears to be invalid.
[3/4] Linking dependencies...
warning " > @markmccoid/[email protected]" has incorrect peer dependency "expo-haptics@^12.2.1".
warning " > @shopify/[email protected]" has unmet peer dependency "@babel/runtime@*".
warning "expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/[email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > @react-native/codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > [email protected]" has unmet peer dependency "expo-gl-cpp@*".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has unmet peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-splash-screen > @expo/[email protected]" has unmet peer dependency "expo-modules-autolinking@>=0.8.1".
warning "react-native > @react-native/[email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > [email protected]" has unmet peer dependency "react-native-vector-icons@*".
warning "react-native-render-html > @native-html/[email protected]" has unmet peer dependency "@types/react-native@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/[email protected]" has unmet peer dependency "@types/react@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/[email protected]" has unmet peer dependency "@types/react-native@*".
warning " > [email protected]" has unmet peer dependency "fbjs@*".
warning " > [email protected]" has unmet peer dependency "prop-types@*".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "jest@^29.0.0".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "jest@^27.0.0 || ^28.0.0 || ^29.0.0".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "eslint@>=8.10".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=5.16.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=8.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "prettier@>=3.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=7.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" 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/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node > [email protected]" has unmet peer dependency "eslint@>=4.19.1".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" 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/[email protected]" 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 > [email protected]: Glob versions prior to v9 are no longer supported
warning @expo/config-plugins > glob > [email protected]: 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 > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @markmccoid/react-native-drag-and-order > np > del > rimraf > glob > [email protected]: 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 > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/metro-config > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/config > sucrase > [email protected]: Glob versions prior to v9 are no longer supported
warning expo > @expo/cli > npm-package-arg > [email protected]: This package is no longer supported.
warning expo > @expo/cli > @react-native/dev-middleware > @rnx-kit/chromium-edge-launcher > [email protected]: Rimraf versions prior to v4 are no longer supported
warning expo > babel-preset-expo > @react-native/babel-preset > @babel/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: 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 > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/codegen > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/community-cli-plugin > [email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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 > [email protected]: no longer maintained
warning expo-module-scripts > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > @babel/cli > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > babel-jest > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
warning expo-module-scripts > jest-expo > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native DOMException instead
[2/4] Fetching packages...
warning [email protected]: The engine "git" appears to be invalid.
[3/4] Linking dependencies...
warning " > @markmccoid/[email protected]" has incorrect peer dependency "expo-haptics@^12.2.1".
warning " > @shopify/[email protected]" has unmet peer dependency "@babel/runtime@*".
warning "expo > babel-preset-expo > @react-native/babel-preset > @react-native/babel-plugin-codegen > @react-native/[email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > @react-native/codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > [email protected]" has unmet peer dependency "expo-gl-cpp@*".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has unmet peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-image-editor > [email protected]" has incorrect peer dependency "[email protected]".
warning "expo-splash-screen > @expo/[email protected]" has unmet peer dependency "expo-modules-autolinking@>=0.8.1".
warning "react-native > @react-native/[email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > [email protected]" has unmet peer dependency "react-native-vector-icons@*".
warning "react-native-render-html > @native-html/[email protected]" has unmet peer dependency "@types/react-native@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/[email protected]" has unmet peer dependency "@types/react@*".
warning "react-native-render-html > @native-html/transient-render-engine > @native-html/[email protected]" has unmet peer dependency "@types/react-native@*".
warning " > [email protected]" has unmet peer dependency "fbjs@*".
warning " > [email protected]" has unmet peer dependency "prop-types@*".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "jest@^29.0.0".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "jest@^27.0.0 || ^28.0.0 || ^29.0.0".
warning "expo-module-scripts > [email protected]" has unmet peer dependency "eslint@>=8.10".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=5.16.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=8.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "prettier@>=3.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" has unmet peer dependency "eslint@>=7.0.0".
warning "expo-module-scripts > eslint-config-universe > [email protected]" 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/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > eslint-plugin-node > [email protected]" has unmet peer dependency "eslint@>=4.19.1".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "expo-module-scripts > eslint-config-universe > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" 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/[email protected]" 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

@jamalsbh jamalsbh added the needs review Issue is ready to be reviewed by a maintainer label Oct 8, 2024
@passiondroid
Copy link

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

@jamalsbh
Copy link
Author

jamalsbh commented Oct 8, 2024

@passiondroid see this: expo/expo#31912

@byCedric
Copy link
Member

byCedric commented Oct 8, 2024

Crossposting here for visibility:

Hey all! We've issued an emergency hotfix for [email protected]. 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 [email protected] 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 [email protected] - and then removing this package again. npm's optimization should update the dependency chain expo@51 -> [email protected] by doing so.

Sorry for the trouble!

@byCedric byCedric closed this as completed Oct 8, 2024
@byCedric byCedric pinned this issue Oct 8, 2024
@byCedric byCedric unpinned this issue Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants