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

Bun Failed to build IOS #2066

Open
AdzeB opened this issue Sep 26, 2023 · 1 comment
Open

Bun Failed to build IOS #2066

AdzeB opened this issue Sep 26, 2023 · 1 comment
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@AdzeB
Copy link

AdzeB commented Sep 26, 2023

Build/Submit details page URL

https://dub.sh/pfI4NTh

Summary

I get the following error when I use bun to build IOS ipa
Node found at: /Users/expo/.nvm/versions/node/v16.18.1/bin/node

/Users/expo/workingdir/build/node_modules/react-native/scripts/generate-specs-cli.js:45

  .demandOption(

   ^

​

TypeError: yargs.option(...).option(...).option(...).option(...).option(...).option(...).usage(...).demandOption is not a function

    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/react-native/scripts/generate-specs-cli.js:45:4)

    at Module._compile (node:internal/modules/cjs/loader:1155:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)

    at Module.load (node:internal/modules/cjs/loader:1033:32)

    at Function.Module._load (node:internal/modules/cjs/loader:868:12)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

    at node:internal/main/run_main_module:22:47

Command PhaseScriptExecution failed with a nonzero exit code

Managed or bare?

Managed

Environment

System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
Managers:
CocoaPods: 1.13.0
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
expo: ^48.0.0 => 48.0.20
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-web: ~0.18.7 => 0.18.12
react-navigation: ^4.4.4 => 4.4.4
npmGlobalPackages:
eas-cli: 5.3.0
expo-cli: 6.3.10
Expo Workflow: managed

Error output

No response

Reproducible demo or steps to reproduce from a blank project

  • Removed Yarn and Yarn.lock from the project
  • Bun install
  • eas build -p ios
@AdzeB AdzeB added the needs review Issue is ready to be reviewed by a maintainer label Sep 26, 2023
@iM-GeeKy
Copy link

iM-GeeKy commented Oct 10, 2023

Might be related to this issue although it is slightly different.

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

2 participants