Android eas build failed - gyp ERR

Hi Everyone,

I got my react-native-app(bare workflow) in a monorepo and trying to build with eas build --platform android, and yarn install will fail with the following error:

Another package in my monorepo has node-gyp as a dependency(node-sass I think), which uses python and it seems not to available in the build container :frowning: . I didn’t have this problem when I had a managed workflow and used expo build:android.

Is there a way around this problem?
I really want my react-native-app in my monorepo because of sharing of types and helper functions.

Thanks in advance for your help

Hi, node-gyp@3.8.0 that is in your project dependencies does not support python3, I’ll add python2 to the base image (it will most likely be deployed within few hours), but I suggest updating packages that depend on node-gyp either way.

1 Like

I see, I will update my dependencies.

Thank you so much for the response!