प्रारंभ नहीं कर सकता है मैंने https://facebook.github.io/react-native/docs/getting-started.html#content पर दिए गए लिंक में ट्यूटोरियल का पालन किया। जैसा कि यह पता चला है, एनपीएम 5 अभी तक समर्थित नहीं है। मैंने एनपीएम 4 स्थापित करने की कोशिश की लेकिन, यह या तो काम नहीं कर रहा है। ट्यूटोरियल के पहले पृष्ठ में फंस गया, जब मैं एनपीएम शुरू करता हूं, तो मुझे त्रुटियों का भी गुच्छा मिल रहा है। सचमुच अटक गया, कहीं और नहीं बारी। प्रश्न को वोट करने से पहले, कृपया ध्यान दें कि मैं मोबाइल डेवलपर हूं जो एंडोरिड के साथ काम कर रहा है और आईओएस के पास वेब प्रौद्योगिकियों के बारे में कोई जानकारी नहीं है। धन्यवादReactNativeProject
ये कदम मैं पीछा किया
npm install -g create-react-native-app
यह सफल है, तो था,
create-react-native-app AwesomeProject
इस लाइन के लिए
कर रहे हैं, मैं निम्नलिखित त्रुटि मिली
*******************************************************************************
ERROR: npm 5 is not supported yet
*******************************************************************************
It looks like you're using npm 5 which was recently released.
Create React Native App doesn't work with npm 5 yet, unfortunately. We
recommend using npm 4 or yarn until some bugs are resolved.
You can follow the known issues with npm 5 at:
https://github.com/npm/npm/issues/16991
*******************************************************************************
तब मैं भाग गया आदेश
cd AwesomeProject
बाद में मैं
npm start
जिसके लिए मैं त्रुटि
npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jayakrishnan/.npm/_logs/2017-07-25T08_13_06_277Z-debug.log
मैं यार्न उपयोग करने की कोशिश लेकिन फ्लॉप काम
अपनी त्रुटि दिखाएं जो आपको मिला है। – Balasubramanian