for example
./~/ react-native/Libraries/react-native/react-native.js error
Cannot find module: Error: Unable to resolve module’ActivityIndicator’
The best way to solve this problem is What?
npm install -g react- native-cli.
>Then start the project by clicking on the following – react-native init YourProjectName
For details, please follow their guid!
I am trying to install react-native through npm install –save react-native for my library so I can export a react component that uses View as a wrapper, its sub The item has nothing to do with the platform. When I try to import react-native, it spews hundreds of lines, saying that it cannot parse the module in react-native
for example
./~/react-native/Libraries/react-native/react-native.js error
Cannot find module: Error: Unable to resolve module’ActivityIndicator’
Solve this problem What is the best way?
>You need to install react-native-cli first using
npm install -g react-native-cli.
>Then click the following – React-native init YourProjectName to start the project
For more information, please follow their guid!