ReactJS – Why does NPM Install React-Native does not work?

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, and its children are platform-independent .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’ActivityIndi​​cator’

The best way to solve this problem is What?

>You need to install react-native-cli first
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’ActivityIndi​​cator’

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!

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5945 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.