react native命令行全局安装
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                react native命令行全局安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                命令行npm install -g react-native-cli
rn的架構圖:
C:\MyApp\node-v10.16.3-win-x64\node_modules\react-native-cli
這個index.js里有很多有用的信息,當遇到react native的各種錯誤時,搞清楚他們的原理有助于問題定位:
rn需要的依賴庫:
'use strict';var fs = require('fs'); var path = require('path'); var exec = require('child_process').exec; var execSync = require('child_process').execSync; var chalk = require('chalk'); var prompt = require('prompt'); var semver = require('semver');// Use Yarn if available, it's much faster than the npm client. // Return the version of yarn installed on the system, null if yarn is not available. function getYarnVersionIfAvailable() {要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
 
總結
以上是生活随笔為你收集整理的react native命令行全局安装的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: python numpy中nonzero
- 下一篇: 央行降准对贷款的影响 央行降准对于贷款有
