Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 如何构建react本机示例?_React Native_Sample - Fatal编程技术网

React native 如何构建react本机示例?

React native 如何构建react本机示例?,react-native,sample,React Native,Sample,我所做的: git clone https://github.com/facebook/react-native cd react-native npm install 结果: npm ERR! Darwin 14.5.0 npm ERR! argv "/Users/wv/.nvmasdf/versions/node/v5.0.0/bin/node" "/Users/wv/.nvmasdf/versions/node/v5.0.0/bin/npm" "install" npm ERR! nod

我所做的:

git clone https://github.com/facebook/react-native
cd react-native
npm install
结果:

npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/wv/.nvmasdf/versions/node/v5.0.0/bin/node" "/Users/wv/.nvmasdf/versions/node/v5.0.0/bin/npm" "install"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! path /Users/wv/work/react-native/react-native/node_modules/babel/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/extglob/node_modules/ansi-green/node_modules/ansi-wrap
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/Users/wv/work/react-native/react-native/node_modules/babel/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/extglob/node_modules/ansi-green/node_modules/ansi-wrap' -> '/Users/wv/work/react-native/react-native/node_modules/ansi-wrap'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/wv/work/react-native/react-native/npm-debug.log

你想干什么?不确定“示例”是什么意思,但请尝试遵循入门指南