Import other items appear to reactnative 500 error problem

New input terminal run: react-native init [item name] --save 0.58.6 / less developed version of the error /

First, the key js folder into the new project,
Here Insert Picture Description
delete nonde_modules folder (right click delete, do not delete the folder inside the computer)

Followed by two strings of code that run:
npm install --save [email protected]

yarn add react-native-cli

Not surprisingly, stable operation in the simulator

Guess you like

Origin blog.csdn.net/qq_39944559/article/details/91593593