美文网首页
React-native项目运行报错react/rctbundl

React-native项目运行报错react/rctbundl

作者: Super_Yuan | 来源:发表于2017-09-25 18:18 被阅读57次

你需要在工程目录下npm install react-native,如果项目中有npm package文件直接运行sudo npm install 即可安装配置文件中的依赖。基本就可以啦。

如果确认已经依赖, 则添加link:Link Binary with Library-->Add Other --> node_modules -> react-native ->React ->Base ->RCTRootView.m

http://www.jianshu.com/p/9e4e60a216bb

相关文章

网友评论

      本文标题:React-native项目运行报错react/rctbundl

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