I am running 'npx react-native start' on one terminal and waiting for it to start app and then running 'npx react-native run-android' on other terminal to start app but receiving this error... any solution plz? i think may the white space between firstname and lastname(OK Computers) of my username is creating fuss but how can i resolve it.
Simply my computer name consisted of two words separated by a white space(for example: "Ali Azlan" the white space btw Ali and Azlan will create problem, I don't know why and how npx works but it only works with single name(no whitespace between). So I changed name of my computer to single name ie Ali using these instructions Windows 10 - Username with whitespace and PATH follow the longest answer on that link. but reading cautions below before doing so,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.