When I typeing
and select expokit, the execution is not successful
Came across the same issue and after I looked trough expo source code I found out it was an error not being handled properly. In my case the error was thrown because I had an empty
temp-ios-directory in the root folder.
I had a quick look at the code and indeed, if there’s no directory called
temp-ios-directory then the code will create it and “Download iOS code”. If the directory does not exist, then it will not do the download. Presumably something later assumes the download has happened and crashes because it’s not there.
Given the way the check is done, if there’s a file called
temp-ios-directory it will also crash because it assumes that
!isDirectory(...) implies that there’s nothing there and it can create the directory. The error would be different in that case, of course.