Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installation problem - nodejs-lts (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'

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: enter image description here

like image 842
Adam Breslin Avatar asked Oct 19 '25 09:10

Adam Breslin


1 Answers

Uninstall NodeJS manually and then run the command again.

source

like image 151
Peter Musembi Avatar answered Oct 22 '25 01:10

Peter Musembi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!