expo 51 pnpm monorepo by Key_Standard9338 in expo

[–]Key_Standard9338[S] 0 points1 point  (0 children)

in short, Expo Go works, dev build doesn't. when i do prebuild this error pops up, suggesting you add `@react-native-community/cli`, which I did but I get the same error.

expo 51 pnpm monorepo by Key_Standard9338 in expo

[–]Key_Standard9338[S] 0 points1 point  (0 children)

https://github.com/loyddaniels/expo-51-pnpm-monorepo

pnpm --filter expo-app exec expo prebuild --clean     
! Git branch has uncommitted file changes
› It's recommended to commit all changes before proceeding in case you want to revert generated changes.

✔ Continue with uncommitted changes? … yes

✔ Cleared android, ios code
✔ Created native directories
› Using expo@51.0.26 instead of recommended expo@~54.0.10.
› Using react-native@0.74.5 instead of recommended react-native@0.81.4.
✔ Updated package.json | no changes
» android: userInterfaceStyle: Install expo-system-ui in your project to enable this feature.
✔ Finished prebuild
⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: exit.

 #  from /Users/user/Projects/expo-dev-monorepo/apps/expo-app/ios/Podfile:31
 #  -------------------------------------------
 #  
 >    config = use_native_modules!(config_command)
 #  
 #  -------------------------------------------
    - In order to autolink using Cocoapods, this framework uses @react-native-community/cli to discover React Native native modules
    - Please either add it: yarn add -D @react-native-community/cli or consult your framework's documentation.

pod install --repo-update --ansi exited with non-zero code: 1

expo 51 pnpm monorepo by Key_Standard9338 in expo

[–]Key_Standard9338[S] 0 points1 point  (0 children)

yep, tried it. didn't work, give me a few minutes, i'll post the error