Reputation: 315
I am trying to install react native in my laptop. For this, I have already intalled NodeJS, react-native CLI, NPM, python 3.8 and JDK. This is my cmd image when I typed javac and other commands for checking if everything is installed or not.
What is the error?
Upvotes: 0
Views: 202
Reputation: 1503
I think you have followed the old installation documentation please follow the new installation documentation https://facebook.github.io/react-native/docs/getting-started
If you previously installed a global react-native-cli package, please remove it as it may cause unexpected issues.
npm uninstall -g react-native-cli
then use new npx
to install new react native applications npx react-native init NewProject
Upvotes: 1