Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError:Strict mode does not allow function declaration in a lexically nested statement. #53

Closed
NickTet opened this issue Sep 25, 2017 · 3 comments

Comments

@NickTet
Copy link

NickTet commented Sep 25, 2017

很好奇你们都没遇到这个问题吗?SyntaxError:Strict mode does not allow function declaration in a lexically nested statement.

@liqieli
Copy link

liqieli commented Sep 26, 2017

+1,不过在debug模式下可以正常运行。
facebook/react-native#11389 (comment)

@NickTet
Copy link
Author

NickTet commented Sep 26, 2017

我把版本升级了 ,问题解决了

@NickTet NickTet closed this as completed Sep 26, 2017
@zhenizhui
Copy link

"dependencies": {
        "react": "15.4.1",
        "react-native": "0.39.1"
}

使用这两个版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants