I'm trying to create an android emulator for react-native, but I'm having some trouble installing some packages when I type in this command: choco install -y nodejs-lts openjdk11
You will find the above command at the following website: https://reactnative.dev/docs/environment-setup
nodejs-lts won't install for some reason. Do I have to uninstall nodejs and install nodejs-lts instead? Here is a screenshot of the error:
just open the power shell and run as administrator and the files will get installed