1、npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Root\package.json'
cd 切换到D:\nodejs\node_modules\npm 再执行安装命令 npm install -g XXX@16.0.1
2、WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was installed.
react-native依赖react版本为15.3.1 安装该版本 npm install -g react@15.3.1