React-Native:严格模式不允许在词法嵌套语句中进行函数声明。

时间:2017-04-26 21:46:29

标签: javascript android node.js react-native

尝试运行此应用:https://github.com/VctrySam/Twitter 在Android(Real Device)上显示此错误: Android Error Image

  • 我有最新的React Native Cli和Node.js版本6.9.5(Windows x64)的

  • 该应用程序在依赖项中编写了React-Native ^0.32.1

所以在Stack Overflow上,我尝试修改React源代码,但不会改变错误。 SyntaxError: Strict mode does not allow function declarations in a lexically nested statement on a newly created app

我将如何运行此应用程序?

0 个答案:

没有答案