I am a complete beginner, so please provide some explanation.
I am following react-native tutorial at https://facebook.github.io/react-native/releases/0.19/docs/tutorial.html
I run command to init project, I just call it Movies instead of AwesomeProject as the tutorial explains.
Then I copied the complete code from the bottom of the tutorial into my index.ios.js, save the project and refreshed emulator and I get this error
error: bundling failed: "TransformError:
/Users/dinob/reactnativework/Movies/index.ios.js:
Unexpected token ) (While processing preset:
"/Users/dinob/reactnativework/Movies/node_modules/
babel-preset-react-native/index.js")"
React-native-cli: 2.0.1
React-native: 0.47.1
React: 16.0.0-beta.2
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…