Getting an error upon first starting the react native boilerplate - screenshot incluided

Hi, Iā€™m having a problem with the boilerplate from the get-go. I followed the instructions to setup my environment as per the excellent youtube video on the Moralis channel. But when I run

npx react-native run-android , I get the error as seen in the screenshot. Could anyone point to what could be wrong in my setup? This happens on both emulator and on physical Android device.