Try to build standalone apk locally but failed with TypeError: Cannot read property 'getAllForPlatform' of undefined

I just tried to follow the instructions in GitHub - expo/expo: An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web. to generate an apk file locally. However I am getting error

const EXPO_CLIENT_UNIVERSAL_MODULES = Modules.getAllForPlatform(‘ios’);
^
TypeError: Cannot read property ‘getAllForPlatform’ of undefined

I am using Nodejs version v8.11.3 on Windows 10 64bit.

Is this script able to run on Windows platform?

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