react-native-nba-app icon indicating copy to clipboard operation
react-native-nba-app copied to clipboard

iOS模拟器运行失败

Open 0victoria0 opened this issue 8 years ago • 10 comments

simulator screen shot 2016 9 1 3 30 23

[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.

0victoria0 avatar Sep 01 '16 07:09 0victoria0

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

wwayne avatar Sep 01 '16 07:09 wwayne

Thanks.

0victoria0 avatar Sep 01 '16 08:09 0victoria0

+1

RPallas92 avatar Oct 04 '16 08:10 RPallas92

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

JonathanFu avatar Oct 04 '16 12:10 JonathanFu

+1

xuech avatar Oct 31 '16 01:10 xuech

+1

ghost avatar Mar 17 '17 08:03 ghost

change 'export default class App extends Component ' to ' class App extends Component'

evernoteHW avatar Apr 26 '17 10:04 evernoteHW

iOS npm start 报错 grep 不是内部或外部命令

jiangJade avatar Sep 26 '18 01:09 jiangJade

我的错误如下: image

memory125 avatar May 29 '19 11:05 memory125

抱歉,已经不玩这个了

| | 薛春华 邮箱:[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.

xuech avatar May 29 '19 13:05 xuech