I'm trying to use Azure DevOps for a React Native app. I'm using gulp to generate an Android App which already has the signing-configs ready and I don't have any problem with it.
My error in Azure DevOps is:
And my .yml file has the following tasks:
- Install Node 8.16.0
- npm install
- Using gulp task to generate the APK
My CI fails at the 3rd step. I googled so many kinds of stuff, all say to check the Node version which should be greater than 6 as you see I'm already on 8.
So far I tried the below three steps and nothing worked for me.
- Installing @react-native-community/cli as a dev dependency or globally.
- Installing gulp globally or as a dev dependency
- Generating package.json without lock file and ignoring optional dependencies.
Any idea on how to resolve this?
