I was facing the same issue. I found that the “expokit” package was missing from my package.json file. So I run this command in the terminal:
npm install --save expokit
expokit 1.7.1 was added into my dependencies and after that my build.gradle built successfully.