After a new RN project, it should be executed firstnpm install
Can be carried out againreact-native run-android
Wait for the order.
If a RN project is moved (such as moving from a C disk to a disk), it must also be executed.npm install
Can we continue.
Excuse me, the gods:
1、npm install
What is the role?
2、Knock downnpm install
What does the computer do after the command? Many are not clear on the Internet?
Thank you for all the gods!
This one.
Every RN project has a package.json file, which contains a lot of component information.
Using NPM install, the components needed for package.json installation will be placed in the generated node_modules folder.
rnEvery file in the project can be used by import to introduce node_modules components.
It is suggested that we first understand what a node project is, and it will be very difficult to learn RN as soon as possible.