React native problem to boot from CMD

0

when trying to start the native reagent project from the CMD, I'm getting this error

    
asked by KiN-n ZiLviN-n 20.11.2018 в 19:53
source

1 answer

0

Go through that problem, I happened because I simply had problems getting the dependencies that download when you run npm install -g expo-cli , there also shows you that you have a new version to install as well. But if you already tried and it gives you the error most likely is that some of the files you have installed is damaged, then what I can recommend is that you use:

  

npm cache clean --force

And then try again with npm install -g expo-cli

Another thing you can try if that does not work for you is to execute the command

  

npm -g uninstall expo-cli --save

To remove the installation and possible corrupted files, then run again

  

npm install -g expo-cli

Also remember to be in the correct directory with the project created to be able to execute the expo start

    
answered by 21.11.2018 в 03:06