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

v4 error #12

Open
leeleoo opened this issue Jan 30, 2018 · 0 comments
Open

v4 error #12

leeleoo opened this issue Jan 30, 2018 · 0 comments

Comments

@leeleoo
Copy link

leeleoo commented Jan 30, 2018

undling index.js [development, non-minified] 0.0% (0/476), failed.% (0/476)
error: bundling failed: SyntaxError in /Users/leo/workspace/react-native-starter-kit/src/index.ts: /Users/leo/workspace/react-native-starter-kit/src/index.ts: Unexpected token (2:20)
1 | import I18n from 'react-native-i18n';

2 | import translations = require('./translations');
| ^
3 | import './utils/exceptionHandler';
4 |
5 | import {

感觉并不是认识 ts 的语法

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

1 participant