Android – reaction to native running Hello World
I am using this tutorial https://facebook.github.io/react-native/docs/getting-started.html#content I am using Windows 8. I have to print NPM install - G react native cli. Then
react-native init AwesomeProject
cd AwesomeProject
Then I read that on windows, I can't use this command react native run Android, so I print node_ Modules / react native / packager / packager.js as suggested here, I get the following output:
There are two files npm-debug.log and package.json in the myawesomeproject folder
So I think there's a problem. How can I solve this problem?
resolvent:
It seems that NPM is not installed correctly on your computer. You can test it by calling NPM install in the generated directory. If it runs successfully and node_ in that directory, If the modules folder is full, you can continue to use it. Then, you should run the react native init command again so that it can generate all the contents correctly