You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ npx expo-doctor
Enabled experimental React Native Directory checks. Unset the EXPO_DOCTOR_ENABLE_DIRECTORY_CHECK environment variable to disable this check.
✔ Check package.json for common issues
✔ Check Expo config for common issues
✔ Check for common project setup issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for issues with Metro config
✔ Check if the project meets version requirements for submission to app stores
✔ Check that packages match versions required by installed Expo SDK
✔ Check native tooling versions
✔ Check npm/ yarn versions
✖ Validate packages against React Native Directory package metadata
✔ Check for legacy global CLI installed locally
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
Detailed check results:
The following issues were found when validating your dependencies against React Native Directory:
Untested on New Architecture: lucide-react-native
No metadata available: @expo-google-fonts/inter, @gluestack-ui/nativewind-utils, @gluestack-ui/overlay, @gluestack-ui/toast, metro-config, shared, tailwind-merge, tailwindcss
Advice:
- Use libraries that are actively maintained and support the New Architecture. Find alternative libraries with https://reactnative.directory.
- Add packages to expo.doctor.reactNativeDirectoryCheck.exclude in package.json to selectively skip validations, if the warning is not relevant.
- Update React Native Directory to include metadata for unknown packages. Alternatively, set expo.doctor.reactNativeDirectoryCheck.listUnknownPackages in package.json to false to skip warnings about packages with no metadata, if the warning is not relevant.
One or more checks failed, indicating possible issues with the project.
Error output
[INSTALL_DEPENDENCIES] We detected that 'workspaces/mobile-client' is a yarn workspace
[INSTALL_DEPENDENCIES] Running "yarn install --no-immutable --inline-builds" in /var/folders/c6/klv3h1_977v_x6t45d515kzc0000gn/T/eas-build-local-nodejs/dd198977-dd10-4281-aa47-d0676d994c2d/build directory
[INSTALL_DEPENDENCIES] yarn install v1.22.22
[INSTALL_DEPENDENCIES] error Workspaces can only be enabled in private projects.
[INSTALL_DEPENDENCIES] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INSTALL_DEPENDENCIES]
Error: yarn install --no-immutable --inline-builds exited with non-zero code: 1
at ChildProcess.completionListener (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/spawn-async/build/spawnAsync.js:42:23)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:337:12)
...
at spawnAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/spawn-async/build/spawnAsync.js:7:23)
at spawn (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/turtle-spawn/dist/index.js:16:47)
at installDependenciesAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/common/installDependencies.js:24:50)
at async runInstallDependenciesAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/common/setup.js:148:50)
at async /Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/common/setup.js:57:9
at async BuildContext.runBuildPhase (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/context.js:107:28)
at async setupAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/common/setup.js:56:5)
at async buildAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/builders/android.js:41:5)
at async runBuilderWithHooksAsync (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/builders/common.js:12:13)
at async Object.androidBuilder (/Users/federicozivolo/.npm/_npx/203b5a3d3de594cf/node_modules/@expo/build-tools/dist/builders/android.js:26:16)
Build failed
Unknown error. See logs of the Install dependencies build phase for more information.
npx -y [email protected] eyJqb2IiOnsid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pdGhOb1dhaXRGbGFnIjpmYWxzZSwicnVuRnJvbUNJIjpmYWxzZSwiZGV2ZWxvcG1lbnRDbGllbnQiOmZhbHNlLCJyZXF1aXJlZFBhY2thZ2VNYW5hZ2VyIjoieWFybiIsInNpbXVsYXRvciI6ZmFsc2V9fQ== exited with non-zero code: 1
Error: build command failed.
Reproducible demo or steps to reproduce from a blank project
It's a bit complicated to provide a repro, to reproduce the bug create a repository, init yarn workspaces with Yarn v4, then init an Expo app in a workspace, and then run eas build --local.
I think the bug is quite obvious though, EAS is using the wrong Yarn version even though my package.json specifies the correct one and Corepack is enabled.
I noticed the same happens even if I install Yarn 4 globally, replacing Yarn 1.x. The only way around seems to be to use the internal Yarn binary loader (yarn set version) while Corepack is disabled.
The text was updated successfully, but these errors were encountered:
FezVrasta
changed the title
eas build --local fails when using a Yarn 4 monorepo
eas build --local fails when using a Yarn 4 monorepo and Corepack
Nov 8, 2024
Build/Submit details page URL
No response
Summary
I have a monorepo managed by Yarn 4.5.1, one of the workspaces is an Expo app.
When I run
eas build --local
and select Android (I can't test iOS) the build fails.Managed or bare?
managed
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
It's a bit complicated to provide a repro, to reproduce the bug create a repository, init yarn workspaces with Yarn v4, then init an Expo app in a workspace, and then run
eas build --local
.I think the bug is quite obvious though, EAS is using the wrong Yarn version even though my package.json specifies the correct one and Corepack is enabled.
I noticed the same happens even if I install Yarn 4 globally, replacing Yarn 1.x. The only way around seems to be to use the internal Yarn binary loader (yarn set version) while Corepack is disabled.
The text was updated successfully, but these errors were encountered: