RN ISSUES

作者: kid_add | 来源:发表于2017-06-27 17:12 被阅读0次

1、Unable to resolve moduleslodash(这里举例lodash,这个lodash也可以是别的。意思就是缺少当前模块,所以需要安装)

npm install lodash --save

或(制定版本的命令): npm install lodash@3.10.1

2、babel@5.8.38should be installed with -g

npm install babel@5.8.38 -g

3、Unable to resolve moduleReactfrom  ... (同1)

npm installreact--save

npm install --save react@^0.14.5

4、Command `run-iOS` unrecognized. Did you mean to run this inside a react-native project?

npm install -g react-native-cli

npm install --save react-native@latest

5、Rails is not currently installed on this system.

sudo gem install rails  //安装

6、终端install pod报错:

pod not found after install, “pod setup” returns: Could not find 'cocoapods' (>= 0) among 64 total gem(s) (Gem::LoadError)

sudo gem install cocoapods

相关文章

网友评论

      本文标题:RN ISSUES

      本文链接:https://www.haomeiwen.com/subject/vrvecxtx.html