react-native-community/docker-android

nvm: not found

johhansantana opened this issue · 1 comments

I'm trying to use aws codebuild to build my react native app. It was working correctly until I updated to the latest version of react native (0.72.4).

I was using this docker image with version 5.4. When I tried to build again with that version I get that I'm expected a node version higher than 16.

So I went and tried updating the docker image from 5.4 to 7.0. Now I get nvm: not found. The same happens with each version from 7.0 to v10.0 which was the last one I tried.

Any tips on fixing this? Thanks!

nevermind. For some reason, I added the script nvm use 16 and thought it was always there. Sorry