I keep getting this error when trying to build an iOS app version.
I’ve enabled WSL and installed Ubuntu app from Windows store. In addition, I’ve open admin Powershell and ran “Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux”
Hi, I am also having this problem. I have tried running expo build:ios in ps and cmd. Here is my error message.
Error: bash exited with non-zero code: 127
at ChildProcess.completionListener (C:\Users\Jack Fetzer\AppData\Roaming\npm\node_modules\expo-cli\node_modules\@expo\spawn-async\src\spawnAsync.ts:65:13)
at Object.onceWrapper (events.js:284:20)
at ChildProcess.emit (events.js:196:13)
at ChildProcess.cp.emit (C:\Users\Jack Fetzer\AppData\Roaming\npm\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (internal/child_process.js:1000:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
...
at spawnAsync (C:\Users\Jack Fetzer\AppData\Roaming\npm\node_modules\expo-cli\node_modules\@expo\spawn-async\src\spawnAsync.ts:26:19)
at runAction (C:\expo-cli@3.4.0\src\commands\build\ios\appleApi\fastlane.js:16:28)
at Object.authenticate (C:\expo-cli@3.4.0\src\commands\build\ios\appleApi\authenticate.js:15:46)
at processTicksAndRejections (internal/process/task_queues.js:88:5)
at IOSBuilder.getAppleCtx (C:\expo-cli@3.4.0\src\commands\build\ios\IOSBuilder.js:47:24)
at IOSBuilder.produceMissingCredentials (C:\expo-cli@3.4.0\src\commands\build\ios\IOSBuilder.js:123:22)
at IOSBuilder.prepareCredentials (C:\expo-cli@3.4.0\src\commands\build\ios\IOSBuilder.js:66:7)
at IOSBuilder.run (C:\expo-cli@3.4.0\src\commands\build\ios\IOSBuilder.js:19:7)
at IOSBuilder.command (C:\expo-cli@3.4.0\src\commands\build\BaseBuilder.js:54:7)
at Command.<anonymous> (C:\expo-cli@3.4.0\src\exp.ts:81:7)
Alright so I ran expo install -g expo-cli after uninstalling expo-cli both in powershell and in bash. In powershell, everything installed fine but it did not work. As for bash, I got this error…
: not foundram Files/nodejs/npm: 3: /mnt/c/Program Files/nodejs/npm:
: not foundram Files/nodejs/npm: 5: /mnt/c/Program Files/nodejs/npm:
/mnt/c/Program Files/nodejs/npm: 6: /mnt/c/Program Files/nodejs/npm: Syntax error: word unexpected (expecting "in")