react-native-nba-app
react-native-nba-app copied to clipboard
iOS模拟器运行失败
[tid:main] SyntaxError /Users/victoria/Documents/React-Native_Resource/Library/react-native-nba-app-master/app/containers/App.js: Only one default export allowed per module.
Looks something has updated, I don't remember why I exported two default in App.js
....but it looks unreasonable, will update the project later
Thanks.
+1
Can not use more than one export default in a file.
So removing the first default
in the file below fixed this issue.
app/containers/App.js
export default class App
=>export class App
+1
+1
change 'export default class App extends Component ' to ' class App extends Component'
iOS npm start 报错 grep 不是内部或外部命令
我的错误如下:
抱歉,已经不玩这个了
| | 薛春华 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2019年05月29日 19:17,De Meng 写道:
我的错误如下:
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.