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

Unexpected token #4

Closed
Katsulas63 opened this issue Jan 8, 2018 · 1 comment
Closed

Unexpected token #4

Katsulas63 opened this issue Jan 8, 2018 · 1 comment
Assignees
Labels

Comments

@Katsulas63
Copy link

Hello Kevin,

I just git clone your code and try to runit, and I'm facing this error:

ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/App.vue
Module build failed: SyntaxError: Unexpected token (19:8)

  17 |     props: [ 'id' ],
  18 |     computed: {
> 19 |         ...mapState({
     |         ^
  20 |             mm: 'mm'
  21 |         })
  22 |     },

How can I solve it?

Thanks for help

@klevron
Copy link
Member

klevron commented Jan 8, 2018

Hi Katsulas63, thanks for reporting this, it is just a missing babel config file, will try to update this asap.

@klevron klevron self-assigned this Jan 8, 2018
@klevron klevron added the bug label Jan 8, 2018
@klevron klevron closed this as completed in 5ccde1f Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants