-
-
Notifications
You must be signed in to change notification settings - Fork 319
Description
When I run: npm run dev, I got:
ERROR Failed to compile with 3 errors 12:38:12
error in ./src/examples/APIExample.vue
Syntax Error: Unexpected token (16:4)
14 | },
15 | computed: {
16 | ...mapGetters([
| ^
17 | 'totalProduct'
18 | ])
19 | },
@ ./src/examples/APIExample.vue 7:2-107
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
error in ./src/NaviBar.vue
Syntax Error: Unexpected token (271:4)
269 | name: 'va-navibar',
270 | computed: {
271 | ...mapGetters([
| ^
272 | 'unreadMessagesCount',
273 | 'unreadNotificationsCount',
274 | 'remainTasksCount',
@ ./src/NaviBar.vue 3:2-101
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
error in ./src/Slider.vue
Syntax Error: Unexpected token (64:4)
62 | },
63 | computed: {
64 | ...mapGetters([
| ^
65 | 'currentUser'
66 | ])
67 | },
@ ./src/Slider.vue 3:2-100
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
Any idea how to get around this?
Thanks!