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

Compile failed #2

Open
suweya opened this issue Jul 26, 2018 · 1 comment
Open

Compile failed #2

suweya opened this issue Jul 26, 2018 · 1 comment

Comments

@suweya
Copy link

suweya commented Jul 26, 2018

Compile failed!

./.temp/pages/index/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: Unexpected token (21:4)

19 | function mapDispatchToProps(dispatch) {
20 | return {

21 | ...bindActionCreators(Actions, dispatch)
| ^
22 | };
23 | }
24 |

BabelLoaderError: SyntaxError: Unexpected token (21:4)

19 | function mapDispatchToProps(dispatch) {
20 | return {

21 | ...bindActionCreators(Actions, dispatch)
| ^
22 | };
23 | }
24 |

@luckyadam
Copy link
Member

luckyadam commented Jul 27, 2018

应该是你的依赖没有安装好,重新安装下依赖试试

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

2 participants