Wednesday 26 April 2017

React-Native: Strict mode does not allow function declarations in a lexically nested statement.

Tried running this app: https://github.com/VctrySam/Twitter on Android (Real Device) and it shows this error: Android Error Image

  • I have the latest React Native Cli and Node.js version 6.9.5 (Windows x64)

  • The app has React-Native ^0.32.1 written in the dependencies.

So on Stack Overflow, I tried a modification to the React source which doesn't change the error. SyntaxError: Strict mode does not allow function declarations in a lexically nested statement on a newly created app

How would I go about running this app?



via user2676326

No comments:

Post a Comment