Error When Building IOS

I am facing the following error when trying to build IOS app.

[exp] Validating Credentials…
[exp] Running: bash.exe -c PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /mnt/c/Program Files/nodejsinstall/node_modules/exp/node_modules/@expo/traveling-fastlane-linux/traveling-fastlane-1.4.5-linux-x86_64/validate_apple_credentials “”
[exp] Error while gathering & validating credentials
[exp] {“result”:“failure”,“reason”:“Could not understand JSON reply from Ruby based local auth scripts”,“rawDump”:“/bin/bash: /mnt/c/Program: No such file or directory\n”}
[exp] undefined
[exp] undefined

I think is because of the spacing of the program files directory. Furthermore, the nodejsinstall directory I install in d drive. Can I change the directory to d:Program Files including spacing? Or is there any other solution?

@fson - any ideas here?

The issue that caused exp build:ios to fail when there are spaces in the installation path should be fixed in exp v50.0.1. Could you upgrade exp with npm install -g exp and see, if that fixes the issue for you?

The issue is solved. Ok. Thanks.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.